Column Group Structure
columnGroup. The group header includes the group name and, when collapseTo is set, a toggle button to expand or collapse the group.

Column Group Properties
Defining Column Groups
Column groups are defined in the top-levelcolumnGroups section. Each key is a group ID referenced by individual columns:
Assigning Columns to Groups
Add thecolumnGroup property to individual column definitions, referencing the group ID:
Predefined Styles for Groups
Use any of the predefined style names forgroupStyle and headerStyle:
See Styles for the full style reference with color tokens.
Collapse and Expand
When a group is configured withcollapseTo, users can toggle the group between expanded and collapsed states:
- Expanded: All columns in the group are visible
- Collapsed: Only the
collapseTocolumn is visible; other columns are hidden
Ungrouped Columns
Columns without an explicitcolumnGroup assignment display a blank group header. The two-row header structure (group row + column row) is maintained consistently whether groups are defined or not.
Exporting Column Groups
Column group headers are exported to Excel when using the export feature. Merged cells span all columns in the group, displaying the group name once in the exported file.Complete YAML Example
Related pages: Columns | Styles | Views