This is a migrated thread and some comments may be shown as answers.

Save user grid settings

3 Answers 248 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Vladimír
Top achievements
Rank 1
Vladimír asked on 30 Aug 2012, 10:54 AM
Hi telerik,

i would like save user settings of grid like filtering, sorting, selections etc. How can do it with your grid. In my project i used kendoui MVC wrapper. If navigate from one web page(with filtered grid) to other (for example detail row) web page all settings of my grid are lost if return to first.

Could you help me?

3 Answers, 1 is accepted

Sort by
0
Petur Subev
Telerik team
answered on 04 Sep 2012, 11:17 AM
Hello VladimĂ­r,

The Grid state is lost when using Ajax binding (it is not supported out-of-the-box) and you navigate to a different page. If you are using Server binding the Grid state will be persisted via the query string.

Kind regards,
Petur Subev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Jeroen
Top achievements
Rank 1
answered on 18 Jan 2013, 09:02 AM
Hi Petur,

We have the same question as Vladimir.

is it possible to save the grid configuration to a session cookie or DOM ?

If so , could you prepare a sample code?

Jeroen
0
Petur Subev
Telerik team
answered on 21 Jan 2013, 06:12 AM
Hello Jeroen,

Not long ago we created code library which demonstrates how to achieve this. The code library can be found here:

http://www.kendoui.com/code-library/web/grid/preserve-grid-state-in-a-cookie.aspx

Kind Regards,
Petur Subev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
Vladimír
Top achievements
Rank 1
Answers by
Petur Subev
Telerik team
Jeroen
Top achievements
Rank 1
Share this question
or