SMART datagrid v.1 > Classes > DateHoliday
It specifies the date which will be holiday as Date object or array of strings.
The date string is converted to Date object according to the format specified in datetimeFormat set in cell editor. The default format is 'yyyy/MM/dd'.
Defaults to null.
var columns = [{
editor: {
type: "date",
holidays: [{
type: "date",
dates: ["2016/07/11", "2016/08/11"],
description: "Company Workshop"
}]
}
},
...
];
grid.setColumns(columns);