The cellWidth property (number) sets the cell width in pixels when DayPilot.Gantt.cellWidthSpec is set to "Fixed".
DayPilot.Gantt.cellWidth
40
const gantt = new DayPilot.Gantt("dp", {
cellWidthSpec: "Fixed",
cellWidth: 30,
// ...
});
gantt.init();
<daypilot-gantt [config]="config"></daypilot-gantt>
config: DayPilot.GanttConfig = {
cellWidthSpec: "Fixed",
cellWidth: 30,
// ...
};
<DayPilotGantt
cellWidthSpec="Fixed"
cellWidth={30}
{/* ... */}
/>
<DayPilotGantt cellWidthSpec="Fixed" :cellWidth="30" <!-- ... --> />