KendoReact Data Grid State Management
The KendoReact Grid provides multiple options for managing its state. You can control the Grid state by passing the respective state properties like filter
, sort
, select
etc. or leverage it's built-in state management mechanism.
Controlling the Grid State
To control any of the grid's state properties, it's enough to pass the respective property and it will always take precedence over the internal state management.
Built-in State Management
By default the Grid manages its state internally, and it is enough to enable the respective feature like filterable
, sortable
or selectable
and the Grid would utilize its built-in state management which works out of the box with the autoProcessData
property enabled.
You can still provide a default value by passing a default%STATE_PROP%
property to the Grid, or keep track of the changes through the respective on%STATE_PROP%Change
event.
The built-in state management does not work when using the Grid in RSC Mode.