API reference: @salmonui/data-grid/engine
createGroupingModulefunction
import { createGroupingModule } from '@salmonui/data-grid/engine';Also exported from @salmonui/data-grid, @salmonui/data-grid/engine/grouping.
function createGroupingModule<Row>(): GroupingModule<Row>;
Creates the grouping module. Options come from
options.grouping (GroupingOptions); the initial grouping from
options.defaultQuery.grouping. Register createSortModule() too so the
grouped order comes from the shared sort keys; without it the group stage
sorts by the group keys itself.