The rowHeaderWidthAutoFit property (boolean) enables the row header width auto-fit feature for the Gantt Chart component.
Declaration
DayPilot.Gantt.rowHeaderWidthAutoFitPossible Values
true- adjusts row header width automatically to fit the content.false- keeps the configured row header width unchanged.
Default Value
trueExamples
JavaScript
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"
<!-- ... -->
/>See Also
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot