Hi,
I am using the workweek view in the Kendo Scheduler. I would like to know how the Kendo reads the weekend in workweek view. Is it always Saturday and Sunday or do you consider the regional settings. (Example for Saudi Arab weekend is Thursday and Friday)
4 Answers, 1 is accepted
The easiest way to change the weekend in the default week view would be via its:
- workWeekStart setting: https://docs.telerik.com/kendo-ui/api/javascript/ui/scheduler/configuration/views.workweekstart
- workWeekEnd setting: https://docs.telerik.com/kendo-ui/api/javascript/ui/scheduler/configuration/views.workweekend
I have prepared a sample illustrating the scenario:
https://jsbin.com/kayanemera/edit?html,css,js,output
However, you could always implement a custom view to further extend the view:
https://docs.telerik.com/kendo-ui/controls/scheduling/scheduler/how-to/custom-views/custom-view
You might find interesting and useful the following blogpost regarding custom styling of non-working hours:
http://www.toplinestrategies.com/blogs/application-development/gray-outblock-unavailable-time-kendo-scheduler-js
Let me know if you have further questions.
Regards,
Joana
Progress Telerik
Hello,
Can you please share some additional details on what is not working? You can set the workDays option to the Scheduler to define the working days for all Views. Or you can set it through the configuration of an individual View.
For example in the workWeek view only the defined workDays are displayed:
Where in the week View all days are rendered, however, the work days and non-working days are styled differently:
Am I missing something in the behavior you are reporting? Can you provide a runnable example where I can observe the reported behavior?
Regards,
Aleksandar
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.