# Persisting The KendoReact Grid's DataState Between Page Reloads

## Environment

<table>
    <tbody>
        <tr>
            <td>Product Version</td>
            <td>v5.12.1</td>
        </tr>
        <tr>
            <td>Product</td>
            <td>Progress® KendoReact Grid</td>
        </tr>
    </tbody>
</table>

## 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.

[Demo Source](https://demos.telerik.com/kendo-react-ui/knowledge-base/grid/grid-save-datastate-to-localstorage/source.txt)
