GroupRowModelItem
A group header row in the flattened render model.
Part of the RenderRow discriminated union (discriminant: kind === 'group').
Group rows represent collapsed/expanded group headers in the virtualized row list.
They are produced by the grouping engine when groupOn categorizes rows into hierarchical groups.
Example
Section titled “Example”function isGroup(row: RenderRow): row is GroupRowModelItem { return row.kind === 'group';}Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
kind | group | Discriminant — always 'group' for group header rows. |
key | string | Composite group key (nested groups separated by `" |
value | any | Display value for this group level (the last segment of the group path). |
depth | number | Nesting depth (0 = top-level group). |
rows | any[] | All data rows belonging to this group (including rows in nested sub-groups). |
expanded | boolean | Whether this group is currently expanded (children visible). |
AI assistants: For complete API documentation, implementation guides, and code examples for this library, see https://raw.githubusercontent.com/OysteinAmundsen/toolbox/main/llms-full.txt