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

[Solved] Capturing MVC Grid Settings

1 Answer 38 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Kenneth
Top achievements
Rank 1
Kenneth asked on 31 Jan 2012, 03:29 PM
We are starting a project using the MVC 3 Telerik Grid and plan on using the ColumnContext menu.

Here's how we need it to work...

Users will do a search and then there should get a grid with a standard set of columns which they then can then add to or delete from and filter and sort as needed and can also mess with column widths, column order etc. 

Once they are done getting the grid with the data layout that they want, they will need to be able to save all these settings and assign the layout a name so that they can select it and get back to the layout whenever they come back to the search page - without having to create a that layout each time.

Will we be able to capture all this information and store it in our database?  If yes can we be pointed to some documentation on the best way we can collect all the grid layout data, save it, and reuse it again?

Thanks in advance!

1 Answer, 1 is accepted

Sort by
0
Georgi Tunev
Telerik team
answered on 03 Feb 2012, 10:21 AM
Hi Kenneth,

 I believe that the following demos will help:

http://demos.telerik.com/aspnet-mvc/grid/columnresizing 
http://demos.telerik.com/aspnet-mvc/grid/columnreordering

They show how you can save the grid's layout - you can use the approach shown there as a base and extend it further to fit your scenario.


All the best,
Georgi Tunev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now
Tags
Grid
Asked by
Kenneth
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or