API REFERENCE

pivotColumns

Fields whose distinct values expand into pivot result columns at the top.

What does this API do?

Fields whose distinct values expand into pivot result columns at the top.

API for Pro features: Pivot

Exact input and result types

typescript
pivotColumns: string[]
ItemValue
JavaScript namepivotColumns
HTML attributepivot-columns
Defaultundefined
Input typestring[]

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