KendoReact Data Grid Multi-column SortingPremium
The KendoReact Data Grid supports sorting by multiple data-bound columns.
Enabling Multiple-column Sorting
To enable sorting by multiple columns, follow these steps:
- Enable the
autoProcessData
prop to allow the Grid to handle the updated state automatically. - Set the
sortable
option of the Grid and set itsmode
prop tomultiple
. - (Optional) Set the
defaultSort
prop to define the initial sorting.
The following example demonstrates the minimum required configuration for sorting multiple Grid records.
Change Theme
Theme
Loading ...