Skip to content

Commit ca16d7f

Browse files
vladaskorohodovaCopilotkhamlyuk
authored
Scheduler: describe Hidden Week Days demo (DevExpress#33418)
Signed-off-by: Vlada Skorokhodova <94827090+vladaskorohodova@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Elena Khamlyuk <80813840+khamlyuk@users.noreply.github.com>
1 parent 90df159 commit ca16d7f

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
The DevExtreme Scheduler allows you to exclude specific days of the week (using the [hiddenWeekDays](/Documentation/ApiReference/UI_Components/dxScheduler/Configuration/#hiddenWeekDays) property).
2+
3+
Use checkboxes in the options panel to toggle day visibility. A validation message appears if you attempt to hide all seven days, since at least one day must remain visible.
4+
<!--split-->
5+
6+
To hide specific days of the week, assign an array of day indexes to the [hiddenWeekDays](/Documentation/ApiReference/UI_Components/dxScheduler/Configuration/#hiddenWeekDays) property. The index values follow the JavaScript `date.getDay()` convention:
7+
8+
- `0` - Sunday
9+
- `1` - Monday
10+
- `2` - Tuesday
11+
- `3` - Wednesday
12+
- `4` - Thursday
13+
- `5` - Friday
14+
- `6` - Saturday
15+
16+
The property works across multiple view types. To hide days of the week from a specific view, use the [same property](/Documentation/ApiReference/UI_Components/dxScheduler/Configuration/views/#hiddenWeekDays) within the view configuration object.

0 commit comments

Comments
 (0)