ColumnGroupDefinition
Declarative column group definition for GridConfig.columnGroups or GroupingColumnsConfig.columnGroups.
Example
Section titled “Example”{ header: 'Personal Info', children: ['firstName', 'lastName'] }Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
id? | string | Unique group identifier. When omitted, auto-generated as a slug of header (e.g. 'Personal Info' → 'personal-info'). |
header | string | Display label for the group header |
children | string[] | Array of column field names belonging to this group |
renderer? | (params: GroupHeaderRenderParams) => string | void | HTMLElement | Custom renderer for this specific group’s header cell. Takes precedence over GroupingColumnsConfig.groupHeaderRenderer. |
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