API REFERENCE
serverSideGroupCols
Columns grouped on the server, ordered from outermost group inward. An empty array represents flat data.
What does this API do?
Columns grouped on the server, ordered from outermost group inward. An empty array represents flat data.
API for Pro features: Server-Side Row Model
Exact input and result types
serverSideGroupCols: string[]| Item | Value |
|---|---|
| JavaScript name | serverSideGroupCols |
| HTML attribute | server-side-group-cols |
| Default | undefined |
| Input type | string[] |
Usage flow
Set this on a property of the Grid element. Pass arrays, objects, and callbacks through JavaScript, and use new arrays or objects when applying changes.
Feature explanations and examples
- Server-side row model
In this model, the server calculates grouping and pivots and supplies rows for each expanded group path. Its data responsibilities differ from grouping already loaded local rows with groupBy.