Is there a way to totally remove the non business hours - not even scrolling up. If BusinessHours start at 8AM and ends at 9PM, it would be nice to not show the interval between 9PM and 8AM, not even with scroll.
Thank you.
This is possible - you need to add heightSpec: "BusinessHoursNoScroll" to the config: https://api.daypilot.org/daypilot-calendar-heightspec/
It's supported in the Lite version as well.
In the Pro version, there are additional options, like dayBeginsHour/dayEndsHour which let you configure it more finely (combine scrolling with limited hours displayed): https://api.daypilot.org/daypilot-calendar-daybeginshour/ https://api.daypilot.org/daypilot-calendar-dayendshour/