Skip to content

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.

function isGroup(row: RenderRow): row is GroupRowModelItem {
return row.kind === 'group';
}
PropertyTypeDescription
kindgroupDiscriminant — always 'group' for group header rows.
keystringComposite group key (nested groups separated by `"
valueanyDisplay value for this group level (the last segment of the group path).
depthnumberNesting depth (0 = top-level group).
rowsany[]All data rows belonging to this group (including rows in nested sub-groups).
expandedbooleanWhether 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