The rowHeaderWidthAutoFit property (boolean) enables the row header width auto-fit feature for the Gantt Chart component.
DayPilot.Gantt.rowHeaderWidthAutoFittrue - adjusts row header width automatically to fit the content.
false - keeps the configured row header width unchanged.
trueJavaScript
const gantt = new DayPilot.Gantt("dp", {
rowHeaderWidthAutoFit: false,
// ...
});
gantt.init();Angular
<daypilot-gantt [config]="config"></daypilot-gantt>config: DayPilot.GanttConfig = {
rowHeaderWidthAutoFit: false,
// ...
};React
<DayPilotGantt
rowHeaderWidthAutoFit={false}
{/* ... */}
/>Vue
<DayPilotGantt
:rowHeaderWidthAutoFit="false"
<!-- ... -->
/>