The rowHeaderScrolling property (boolean) enables scrollable row headers in the JavaScript Gantt Chart. When enabled, the row header width is fixed by rowHeaderWidth and a horizontal scrollbar is added.
When set to false, rowHeaderWidth is calculated automatically as the sum of all row header column widths.
DayPilot.Gantt.rowHeaderScrollingtrue - enables scrollable row headers with a fixed container width.
false - sizes the row header area automatically to fit the configured columns.
falseJavaScript
const gantt = new DayPilot.Gantt("dp", {
rowHeaderScrolling: true,
// ...
});
gantt.init();Angular
<daypilot-gantt [config]="config"></daypilot-gantt>config: DayPilot.GanttConfig = {
rowHeaderScrolling: true,
// ...
};React
<DayPilotGantt
rowHeaderScrolling={true}
{/* ... */}
/>Vue
<DayPilotGantt
:rowHeaderScrolling="true"
<!-- ... -->
/>Scrolling Performance [doc.daypilot.org]