Scheduler / Customization / Working Days

Blazor Scheduler Example - Working Days

Loading Syncfusion Blazor Server Demos…

This demo showcases how to set customized working days as well as the first day of a week and the way to show or hide the weekend days of a week on Scheduler.

In this demo, the working days of a week can be set on Scheduler using the WorkDays property, which accepts a collection of day indexes (from 0 to 6) of a week. By default, it is set to [1, 2, 3, 4, 5]. In this demo, it has been set to [1, 3, 5], which means Monday, Wednesday, and Friday are set as working days of the week and are visually differentiated from non-working days. The working hours usually apply only to these given working days.

The ShowWeekend property is used to either show or hide weekend days of a week and is not applicable on WorkWeek view. By default, it is set to true. Days which are not part of the working days collection of a Scheduler are usually considered as weekend days.

The first day of the week can also be set on the Scheduler using the FirstDayOfWeek property, which makes the Scheduler start with that day.

Note: Sunday is always denoted as 0, Monday as 1, and so on.

Transform your Blazor web apps today with Syncfusion® Blazor components
145+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE