Skip to main content
See also: Columns | Styles

Column Group Structure

diagram
In the rendered sheet, column groups appear as a second header row above the regular column headers, merging cells across all columns that share the same columnGroup. The group header includes the group name and, when collapseTo is set, a toggle button to expand or collapse the group.
Powersheet header showing two stacked group headers (Epics and User Stories) above the regular column headers, with collapse toggles on each group and a Test Cases sub-group inside User Stories

Column Group Properties

When collapseTo is not specified, the group does not provide a collapse option. The collapse toggle button appears in the group header only when collapseTo is configured.

Defining Column Groups

Column groups are defined in the top-level columnGroups section. Each key is a group ID referenced by individual columns:

Assigning Columns to Groups

Add the columnGroup property to individual column definitions, referencing the group ID:

Predefined Styles for Groups

Use any of the predefined style names for groupStyle and headerStyle: See Styles for the full style reference with color tokens.

Collapse and Expand

When a group is configured with collapseTo, users can toggle the group between expanded and collapsed states:
  • Expanded: All columns in the group are visible
  • Collapsed: Only the collapseTo column is visible; other columns are hidden
The collapse toggle button appears in the group header row.
If the column specified in collapseTo is hidden (not visible), the last visible column in the group is used as the collapse target instead.

Ungrouped Columns

Columns without an explicit columnGroup 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
Last modified on July 10, 2026