Completed
Last Updated: 18 Mar 2020 16:28 by ADMIN
Release 2.9.0
Dan
Created on: 19 Jun 2019 18:27
Category: Grid
Type: Feature Request
17
Save grid layout (state)
After implementing column resizing and re-ordering, it would be nice if these settings could be persisted/loaded so that users may have custom views saved of their data.  Similar to the RadGridView.SaveLayout/LoadLayout of Telerik WinForms controls.  I suppose this would also require some sort of auto-bind functionality.
2 comments
ADMIN
Marin Bratanov
Posted on: 18 Mar 2020 16:28

Hello everyone,

This feature is now available and it offers a lot more than saving and loading the current state (layout) of the grid. You can read more about how it works and what it provides in the documentation (https://docs.telerik.com/blazor-ui/components/grid/state) and also check it out live in the demos (https://demos.telerik.com/blazor-ui/grid/persist-state).

 

Regards,
Marin Bratanov
Progress Telerik

 UI for Blazor
ADMIN
Marin Bratanov
Posted on: 20 Jun 2019 10:43
To add to this, I would probably also expect such a state restoration to maintain filtering, sorting and grouping, as well as current page index. Perhaps it should return some object (either a proprietary model of ours, or xml, or json, I don't know yet) that the app can store somewhere. The data, however, must not be part of it, the grid instances should receive its data from its view and the developer should be able to save/load its state on certain events (lifecycle events of the view, or user actions).

--Marin