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

Question regarding bookmarking/duplicating grids in separate windows.

2 Answers 14 Views
Grid
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 06 Nov 2018, 05:15 AM

Hello,

I have developed an MVC application that uses Kendo Grid to display database tables dynamically on user request. I have received a request to implement 'bookmarking' of the grid state at certain points, i.e: if the user has progressed through the system to load a specific schema/table, they would like a link or some sort of 'bookmarked reference' to instantly load the grid without having to traverse through the controls again. I'm not sure how realizable this is.. the controller reference of course can be bookmarked, but this will just return the raw Json that populates the grid.. is there anyway for an end-user to pass around a reference that would instantly reload the grid in a specific state?

2 Answers, 1 is accepted

Sort by
0
Tsvetomir
Telerik team
answered on 08 Nov 2018, 02:27 PM
Hi John,

The Kendo UI Grid exposes the capability to save and restore settings that have been previously applied to its structure. The persist state functionality is achieved by using the setOptions() and getOptions() methods. Those methods allow you to serialize the current state and at a certain point in time to recover them back. You can save the serialized object according to your preferences. 

It is a common scenario and a live demo could be found at:

Grid / Persist state

In this example, the state is saved in the Local storage of the browser, but as I previously said, you can opt for saving it elsewhere, even in the database.

If this is not the exact scenario you are willing to achieve, please elaborate in further details on the matter and I would be happy to provide you with additional information. 


Kind regards,
Tsvetomir
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
John
Top achievements
Rank 1
answered on 09 Nov 2018, 05:38 PM

Hi Tsvetomir,

Perfect -- thank you for helping me find this in the documentation.

Tags
Grid
Asked by
John
Top achievements
Rank 1
Answers by
Tsvetomir
Telerik team
John
Top achievements
Rank 1
Share this question
or