• Material
  • Fabric
  • Bootstrap
  • Bootstrap v4
  • High Contrast
Preferences
Theme Selection
Mode Selection
Touch
Mouse
Essential JS 2
HOME
All Controls

Button

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.

DEMO
SOURCE
Working days
Non-Working 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 true. The days which are not a part of the working days collection of a Scheduler 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.