Skip to content

Section Headings

Use gantt.rowSections to break a local task list into named sections. The live example has three top-level tasks with Design and Build headings.

Set beforeTaskId to the ID of the first task you want under each heading.

grid.gantt = {
...project,
rowSections: [
{ beforeTaskId: 'wireframes', label: 'Design' },
{ beforeTaskId: 'build-page', label: 'Build' },
],
};

Each heading is a display row with an empty timeline cell. It follows its anchor task when you sort or filter, and shares that task’s outline level. Multiple headings anchored to the same task appear in configuration order.

Use task hierarchy when you need collapsible branches and summary tasks with dates and progress rolled up from their children.