Completed
Last Updated: 26 Nov 2018 07:44 by Holger
Christoph
Created on: 17 Jan 2018 17:03
Category: Grid
Type: Feature Request
31
Add persistent state for grid (and other components)
I was working with Sencha ExtJS and they have to option to make components "stateful" (http://docs.sencha.com/extjs/6.2.0/classic/Ext.state.Provider.html). This will safe user modified settings in browser (defaults to cookie but you can provide your own implementation).

Example (for grid):
* we specify width=100 for first colum
* we allow users to resize columns
* If a users resizes a column the new width will be stored in state
* ... if the user later opens the page again, values from state will overwrite "defaults" from code.

If we use this for column width, visibility and order we've a perfect customizable grid view.
4 comments
Holger
Posted on: 26 Nov 2018 07:44
Since this request has been marked as "Completed", I've created another request for the missing functionality: https://feedback.telerik.com/kendo-angular-ui/1362521-grid-save-restore-columns-state
Holger
Posted on: 19 Nov 2018 07:35

Hi Carl,

the functionality described at https://www.telerik.com/kendo-angular-ui/components/grid/how-to/persist-state/ only works when columns are added by ngFor, but unfortunately not when defining columns in template.

It would be great if we could have deticated methods like e.g. saveState and restoreState. This is already supported by the jQuery grid (see: https://demos.telerik.com/kendo-ui/grid/persist-state).

Regards,
Holger

ADMIN
Carl
Posted on: 13 Sep 2018 17:58
Hey everyone!

We now have the ability to persist the state of the Grid. For a guide on how to do this please take a look at this documentation article:

https://www.telerik.com/kendo-angular-ui/components/grid/how-to/persist-state/
Imported User
Posted on: 24 Jan 2018 13:05
Would really like to see this feature added. I've had to implement a lot of it myself which isn't trivial, especially saving and applying full grid column reordering