WarUI

Grouping from column menus

GRID-A16-F04P1baselinePlanned

Column header menus offer 'Group by this column' and 'Ungroup' actions. This gives a discoverable, keyboard-friendly path that works even when the group panel is hidden.

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

Live example

Products grid with the panel hidden, ungrouped.

Expected behavior

The menu shows 'Group by this column' for ungrouped groupable columns and 'Ungroup' for grouped ones. Choosing an action updates the grid and the panel (if visible) in sync.

Planned API surface

options.columnMenu.itemscolumnMenu item ids: groupBy, ungroupcolumns[].groupable

Acceptance criteria

  • The menu item label reflects the column's current grouped state. (pending)
  • Choosing Group appends the column to the end of groupBy. (pending)
  • Choosing Ungroup removes only that column, and the other levels remain. (pending)
  • Group items are absent for non-groupable columns. (pending)