WarUI

Multi-Level Grouped Headers

GRID-A08-F15P0baselinePlanned

Column definitions can be nested to create header groups that span multiple levels. Related columns sit together visually under a shared label, such as 'Q1 > Jan, Feb, Mar'.

Planned. This page shows the specification from issue #185. The live example, source for every framework and the API reference replace it when the feature ships.

Live example

A three-level header (Year > Quarter > Month) above 12 month columns and 2 ungrouped columns.

Expected behavior

Group headers span exactly the width of their visible children. Ungrouped columns either span all header rows or show padded empty group cells, depending on the toggle. Resizing a child updates the group's width.

Planned API surface

columnDef.childrencolumnGroupDef.groupIdcolumnGroupDef.headerNamegridOptions.groupHeaderHeightapi.getColumnGroup(groupId)

Acceptance criteria

  • Each group header width equals the sum of its visible children's widths. (pending)
  • Header rows render one row per depth level. (pending)
  • The ARIA structure uses aria-colspan on group headers, and each header row has role=row. (pending)
  • api.getColumnGroup returns the children and the display state. (pending)