The rowHeaderWidth property (number) sets the initial width of the JavaScript Gantt Chart row header in pixels.
If row header width auto-fit is enabled, the width is adjusted to fit the content.
If row header scrolling is enabled, this value determines the width of the row header container.
DayPilot.Gantt.rowHeaderWidth80JavaScript
const gantt = new DayPilot.Gantt("dp", {
rowHeaderWidth: 120,
// ...
});
gantt.init();Angular
<daypilot-gantt [config]="config"></daypilot-gantt>config: DayPilot.GanttConfig = {
rowHeaderWidth: 120,
// ...
};React
<DayPilotGantt
rowHeaderWidth={120}
{/* ... */}
/>Vue
<DayPilotGantt
:rowHeaderWidth="120"
<!-- ... -->
/>DayPilot.Gantt.rowHeaderWidthAutoFit