Hiding non-business hours is specific for each control:
DayPilotCalendar
Set
HeightSpec="NonBusinessNoScroll" to turn off the scrollbar. Only the business hours (specified by
BusinessBeginsHour and
BusinessEndsHour) will be visible.
DayPilotScheduler
It's not possible to hide the the non-business hours.
DayPilotSchedulerDynamic
Set
ShowNonBusiness="false" to hide the non-business time ranges. That will hide
- a range specified by BusinessBeginsHour and BusinessEndsHour
- Saturdays and Sundays
Hiding Saturdays and Sundays is hardcoded in this release. If you need to hide just Sunday you will need to modify the includeCell function in SchedulerDynamic.js (starting on line 67). I plan to include an API to modify these rules in a standard way in one of the future releases.