API REFERENCE
multiSort
Enables sorting by multiple columns. The sort model order defines priority.
What does this API do?
Enables sorting by multiple columns. The sort model order defines priority.
Exact input and result types
multiSort: boolean| Item | Value |
|---|---|
| JavaScript name | multiSort |
| HTML attribute | multi-sort |
| Default | false |
| Input type | boolean |
Usage flow
Set this on a property of the Grid element. In HTML, you can also use the multi-sort attribute. 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.