The cellDuration property (number) specifies the cell duration in minutes when DayPilot.Gantt.scale is set to "CellDuration".
DayPilot.Gantt.cellDuration
1440
Common values include:
1 - 1 minute.
30 - 30 minutes.
60 - 1 hour.
1440 - 1 day.
10080 - 1 week.
const gantt = new DayPilot.Gantt("dp", {
scale: "CellDuration",
cellDuration: 30,
// ...
});
gantt.init();
<daypilot-gantt [config]="config"></daypilot-gantt>
config: DayPilot.GanttConfig = {
scale: "CellDuration",
cellDuration: 30,
// ...
};
<DayPilotGantt
scale="CellDuration"
cellDuration={30}
{/* ... */}
/>
<DayPilotGantt scale="CellDuration" :cellDuration="30" <!-- ... --> />