Hi, i using smarclient javascript.
In the calendar object is it possible to remove / hide certain hours from the GUI?
In the calendar object is it possible to remove / hide certain hours from the GUI?
shouldDisableDate : function (date) {
var time = isc.DateUtil.getLogicalTimeOnly(date);
// disable times before 9 and after 5
if (time.getHours() <9 || time.getHours() > 17) return true;
return this.Super("shouldDisableDate", arguments);
}
getDateCSSText : function (date) {
return "background-color:lightgreen;";
}
Comment