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

Save/load grid settings

2 Answers 149 Views
Grid
This is a migrated thread and some comments may be shown as answers.
HHalim
Top achievements
Rank 2
HHalim asked on 11 Aug 2011, 08:02 PM
Is there a way to save/load the grid settings, columns, behaviors, etc?

Initializing a grid based on user's saved data will be a great feature to enable self-servicing, personalization of the grid for the user. If this doesn't exist, please add the ability to load/store initialization options (columns, configurations) outside the code, such as in an xml/json file or database server side.

Thanks!

2 Answers, 1 is accepted

Sort by
0
Accepted
Nikolay Rusev
Telerik team
answered on 12 Aug 2011, 11:41 AM
Hello Hartono,

You can use similar approach as on the demo bellow to achieve such functionality.
http://jsfiddle.net/rusev/yRrCX/2/

Greetings,
Nikolay
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
HHalim
Top achievements
Rank 2
answered on 12 Aug 2011, 03:06 PM
That demo is very useful. Thank you!

Further refinement will be much appreciated too, such as built in functions to import/export settings, similar to this:
var settings = $('#grid').exportSettings();
$('#grid').importSettings(settings);

Kendo UI definitely is very impressive, great job guys!
Tags
Grid
Asked by
HHalim
Top achievements
Rank 2
Answers by
Nikolay Rusev
Telerik team
HHalim
Top achievements
Rank 2
Share this question
or