WarUI

Single-column grouping via configuration

GRID-A16-F01P0baselinePlanned

Groups rows by one column declared in the grid configuration. Each distinct value becomes a group row showing the key and child count, with data rows nested underneath. This is the entry point for every other grouping feature.

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

500 synthetic order rows grouped by Region. All groups are collapsed.

Expected behavior

Changing the selector regroups the grid immediately. Each group row shows the key value and, when enabled, the row count in parentheses. Choosing 'none' restores the flat list in the original order.

Planned API surface

options.grouping.groupBycolumns[].groupableoptions.grouping.showChildCountapi.getGroupBy

Acceptance criteria

  • Setting groupBy to ['region'] renders one group row per distinct region value. (pending)
  • The child count shown on a group row equals the number of leaf rows in that group. (pending)
  • Setting groupBy to [] renders a flat grid identical to the ungrouped render. (pending)
  • Columns with groupable=false are rejected by groupBy, and a console warning names the column. (pending)