How to not show non business Hours in DayPilotCalendar ?
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/