• What is KendoReact
  • Getting Started
  • Unstyled Mode
  • Server Components
  • Components
  • Sample Applications
  • Styling & Themes
  • Common Features
  • Project Setup
  • Knowledge Base
  • Changelog
  • Updates
  • Troubleshooting

Persisting The KendoReact Grid's DataState Between Page Reloads

Environment

Product Versionv5.12.1
ProductProgress® KendoReact

Description

I want to preserve the Grid state between page reloads.

Solution

You can achieve this by saving the DataState to the localStorage. When the dataState changes, store it in the localStore, and when the component loads, set the previously saved dataState from the localStorage.

Example
View Source
Change Theme:

In this article

Not finding the help you need?