The cellDuration property (number) specifies the cell duration in minutes. Used only if scale is set to "CellDuration".
DayPilot.Scheduler.cellDuration
60
const dp = new DayPilot.Scheduler("dp", {
scale: "CellDuration",
cellDuration: 30,
// ...
});
dp.init();
<daypilot-scheduler [config]="config"></daypilot-scheduler>
config: DayPilot.SchedulerConfig = {
scale: "CellDuration",
cellDuration: 30,
// ...
};
<DayPilotScheduler
scale="CellDuration"
cellDuration={30}
{/* ... */}
/>
<DayPilotScheduler scale="CellDuration" :cellDuration="30" <!-- ... --> />