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

How to not show non business Hours in DayPilotCalendar

Asked by Akshay Gandotra
1 year ago.

How to not show non business Hours in DayPilotCalendar ?

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

You can hide non-business hours using the heightSpec property:

const calendar = new DayPilot.Calendar("dp", {
  heightSpec: "BusinessHoursNoScroll",
  //...
});
calendar.init();

See also:
https://doc.daypilot.org/calendar/height/

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.