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

Grid - Persisting Grid Settings by Client side

1 Answer 19 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Tomer
Top achievements
Rank 1
Tomer asked on 07 Mar 2014, 02:37 PM
Hello,

Is there a way to use persisting grid setting through the client side on not like the below example that you showed (I added a link).

in the example you use a button for save settings. I want to save the grid settings of column order after a user reorder the columns of the grid through ajax from the client side. And when the user will return in the future to the grid he will see the order of his grid (I don't want to use cookie!). I want to save the settings on my DB and create the grid through the order of the columns that he decided.

link of your example:
http://demos.telerik.com/aspnet-ajax/controls/examples/integration/persisting-grid-settings/defaultcs.aspx?product=grid

thanks.

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 12 Mar 2014, 01:04 PM
Hi Tomer,

There is no straightforward way that you can achieve that. You have to code it using the grid's client-side API to extract the necessary information and then convert it to JSON and send it to the server for persistence.

Regards,
Pavlina
Telerik
 

DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

 
Tags
Ajax
Asked by
Tomer
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or