New to KendoReactStart a free 30-day trial

Store Grid columns width and order in the localStorage

Environment

Product Version5.9.0
ProductProgress® KendoReact Grid

Description

I want to store the order and the width of the Grid columns on resizing and reordering.

Solution

Handle the onColumnResize and onColumnReorder to get reference to the updated columns collection and store it in a localStorage variable. The columns definition of the Grid can then be loaded from that collection.

Following is an example demonstrating this approach:

Change Theme
Theme
Loading ...
In this article
EnvironmentDescriptionSolution
Not finding the help you need?
Contact Support