It specifies the dates which will be holiday by the range of startDate and endDate.
The holiday will be specified as the table below depending on whether startDate, endDate have been set. Holiday type value is "range" in column editor setting.
startDate | endDate | Explanation |
---|---|---|
Set | Set | startDate <= endDate. The dates between starteDate and endDate are holidays. |
Set | Set | startDate > endDate. The dates less than starteDate or greater than endDate are all holidays. |
Set | Unset | The dates less than startDate are holidays. |
Unset | Set | The dates greater than endDate are holidays. |
var columns = [{
editor: {
type: "date",
holidays: [{
type: "range",
startDate: "2016/07/11",
endDate: "2016/07/13",
description: "Company Workshop"
}]
}
},
...
];
grid.setColumns(columns);