Documentation

@kanunilabs/datagrid-react


@kanunilabs/datagrid-react / GroupingConfig

Interface: GroupingConfig

Defined in: datagrid-core/dist/index.d.ts:873

Properties

collapsedByDefault?

optional collapsedByDefault?: boolean

Defined in: datagrid-core/dist/index.d.ts:889

Start groups collapsed instead of expanded.


groupBy?

optional groupBy?: string | string[] | null

Defined in: datagrid-core/dist/index.d.ts:879

Column(s) to group by. A string (or single-element array) is single-level grouping — Community. An array of 2+ is multi-level, an Enterprise feature (approved decision #4); the engine supports both, the edition gates it.


groupSummaries?

optional groupSummaries?: boolean

Defined in: datagrid-core/dist/index.d.ts:894

Attach the summaries aggregates to every group header, not just the footer. Enterprise (approved decision #4).


panel?

optional panel?: boolean

Defined in: datagrid-core/dist/index.d.ts:881

Show the group panel where columns can be dropped to group.


showGroupedColumns?

optional showGroupedColumns?: boolean

Defined in: datagrid-core/dist/index.d.ts:887

Keep a grouped column in the data area. Default FALSE: once a column drives the group headers, repeating its value on every child row is noise — the header already states it. Matches DevExtreme/AG Grid defaults.