SMART datagrid v.1 > Classes > DayHoliday
It specifies the day which will be holiday as string array.
The day string follows the week abbreviation which has been set in grid Locale.
Defaults to null.
Locale | Week abbreviation (shortWeekDays) |
---|---|
ko | ['일', '월', '화', '수', '목', '금', '토'] |
en | ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'] |
ja | ['日', '月', '火', '水', '木', '金', '土'] |
var columns = [{
editor: {
type: "date",
holidays: [{
type: "day",
days: ["Sat.", "Sun."]
}]
}
},
...
];
grid.setColumns(columns);