New to KendoReact? Learn about KendoReact Free.
KendoReact Data Grid Single-column Sorting
The KendoReact Data Grid enables you to sort single data-bound columns.
To enable sorting in the KendoReact Grid and utilize its built-in state management, follow these steps:
- Enable the
autoProcessData
prop to allow the Grid to handle the updated state automatically. - Set the
sortable
prop of the Grid to enable sorting. - (Optional) Set the
defaultSort
prop to define the initial sorting.
The following example demonstrates how to use sorting handled by the built-in state management of the KendoReact Grid.
Change Theme
Theme
Loading ...