mates-grid docs

mates-grid

Grouping & Aggregation

Set rowGroup on columns and aggFunc on measures. Expand/collapse from the auto group column or call grid.expandAll() / collapseAll().

Region → status

Counts and sums roll up. A grand total row sits at the bottom.

{ field: "region", rowGroup: true }
{ field: "amount", aggFunc: "sum" }

grid.expandAll();