API REFERENCE
sortIndex
This column's priority among multiple initial sort criteria.
What does this API do?
This column's priority among multiple initial sort criteria.
Exact input and result types
sortIndex?: number| Item | Value |
|---|---|
| Required | Optional |
| Input type | number |
Usage flow
Set this on an individual column object in columnDefs. Pass arrays, objects, and callbacks through JavaScript, and use new arrays or objects when applying changes.
Feature explanations and examples
- Single and multiple sorting
Sorting changes display order without modifying data values. Single sorting uses one criterion; multiple sorting uses prioritized criteria.