API REFERENCE

groupBy

Groups rows with equal values. A string array creates nested groups in array order.

What does this API do?

Groups rows with equal values. A string array creates nested groups in array order.

API for Pro features: Row grouping, built-in aggregation and group totals

Exact input and result types

typescript
groupBy: string | string[]
ItemValue
JavaScript namegroupBy
HTML attributegroup-by
Defaultundefined
Input typestring | 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