DayPilot.Gantt.rowHeaderWidthAutoFit

The rowHeaderWidthAutoFit property (boolean) enables the row header width auto-fit feature for the Gantt Chart component.

Declaration

DayPilot.Gantt.rowHeaderWidthAutoFit

Possible Values

  • true - adjusts row header width automatically to fit the content.

  • false - keeps the configured row header width unchanged.

Default Value

true

Examples

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

DayPilot.Gantt.rowHeaderWidth

DayPilot.Gantt Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript