showWorkHours Boolean
(default: false)
If set to true the view will be initially shown in business hours mode. By default view is displayed in full day mode.
The
showWorkHours
option is supported when views.type is set to "day" or "week".
Example - enable selection
<div id="scheduler"></div>
<script>
$("#scheduler").kendoScheduler({
date: new Date("2013/6/6"),
showWorkHours: true,
views: ["day", "week"],
dataSource: [
{
id: 1,
start: new Date("2013/6/6 08:00 AM"),
end: new Date("2013/6/6 09:00 AM"),
title: "Interview"
}
]
});
</script>
To dynamically update the showWorkHours
or any other option yo ucan use the setOptions method.