This demo depicts the way to show or hide the weekend days of a week on Schedule. The days whichever not specified in working days collections will be taken into consideration as weekend days.
In this demo, the
showWeekend property is used either to show or hide the weekend days of a week
and it is not applicable on
workweek view. By default, it is set to
The days which are not a part of the working days collection of a Schedule are usually considered as weekend days here.
Here, the working days are defined as
[1, 3, 4, 5] on Schedule.
Therefore, the remaining days (0, 2, 6 – Sunday, Tuesday and Saturday) are considered as weekend days
and will be hidden from the views as the
showWeekend property is set to false.