search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Remove non Business Hours

Asked by Eduardo Luis
1 month ago.

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.

Answer posted by Dan Letecky [DayPilot]
1 month ago.

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/

New Reply
This reply is
Your name (optional):