The timeHeaderCellDuration property (number) sets the duration of time header cells, in minutes, in the JavaScript Calendar component.
DayPilot.Calendar.timeHeaderCellDuration"Auto" - uses 60 minutes for DayPilot.Calendar.scale values smaller than one hour; otherwise it matches the scale unit.
number - uses the specified number of minutes.
"Auto"Use an explicit numeric value when you need the time header grouping to differ from the underlying grid cell size.
JavaScript
const calendar = new DayPilot.Calendar("dp", {
timeHeaderCellDuration: 30,
// ...
});
calendar.init();Angular
<daypilot-calendar [config]="config"></daypilot-calendar>config: DayPilot.CalendarConfig = {
timeHeaderCellDuration: 30,
// ...
};React
<DayPilotCalendar
timeHeaderCellDuration={30}
{/* ... */}
/>Vue
<DayPilotCalendar
:timeHeaderCellDuration="30"
<!-- ... -->
/>Time Header [doc.daypilot.org]