The hideFreeCells property (boolean) hides hours of the day on the Y axis that don't contain any events.
The business hours remain visible.
DayPilot.Calendar.hideFreeCellsfalseThis option isn't applicable when DayPilot.Calendar.heightSpec is set to "BusinessHoursNoScroll".
JavaScript
const calendar = new DayPilot.Calendar("dp", {
hideFreeCells: true,
// ...
});
calendar.init();Angular
<daypilot-calendar [config]="config"></daypilot-calendar>config: DayPilot.CalendarConfig = {
hideFreeCells: true,
// ...
};React
<DayPilotCalendar
hideFreeCells={true}
{/* ... */}
/>Vue
<DayPilotCalendar
:hideFreeCells="true"
<!-- ... -->
/>HideFreeCells [doc.daypilot.org]
Disabled Cells [doc.daypilot.org]
Grid [doc.daypilot.org]