How to hide before and after work hours?


#1

Is it possible in the scheduler to only show certain hours in the day? eg the timeline shows from 00:00 to 23:00… That is rather useless and takes up a lot of space when most of us only need to show the available hours that things are scheduled, (usually 9-5) or something. Thank you!


#2

Hello @Stephen_Hendricks ,

Yes, you can hide all unnecessary hours from the X-axis with the ignore functionality:
https://docs.dhtmlx.com/scheduler/timeline_view.html#:~:text=the-,ignore_{viewName},-property%2C%20where%20the

In the day/week/units views you can set the last/first hour config:
https://docs.dhtmlx.com/scheduler/api__scheduler_first_hour_config.html