Skip to content

ColumnGroupDefinition

Since v0.2.9

Declarative column group definition for GridConfig.columnGroups or GroupingColumnsConfig.columnGroups.

{ header: 'Personal Info', children: ['firstName', 'lastName'] }
PropertyTypeDescription
id?stringUnique group identifier. When omitted, auto-generated as a slug of header (e.g. 'Personal Info''personal-info').
headerstringDisplay label for the group header
childrenstring[]Array of column field names belonging to this group
renderer?(params: GroupHeaderRenderParams) => string | void | HTMLElementCustom 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://toolboxjs.com/llms-full.txt