New to KendoReact? Start a free 30-day trial
Store Grid columns width and order in the localStorage
Environment
Product Version | 5.9.0 |
Product | Progress® 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 ...