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

Define grid columns in code

5 Answers 66 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ben
Top achievements
Rank 1
Ben asked on 05 Feb 2014, 02:57 AM
I am wanting to replace MVCContrib grid with the Telerik grid in our projects.  With the Telerik grid can we define columns as a class like in MVCContrib e.g. Html.Grid(listOfData).WithModel(new ItemGridDef()) ?  

This allows us to reuse the grid in our project.

5 Answers, 1 is accepted

Sort by
0
Alexander Popov
Telerik team
answered on 06 Feb 2014, 12:04 PM
Hi Ben,

Thank you for your interested in Kendo UI! The following articles describe in detail how the Kendo UI Grid could be used:

Regards,
Alexander Popov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Ben
Top achievements
Rank 1
answered on 06 Feb 2014, 12:21 PM
Well that did not answer my question.

Can Keno UI grid for MVC do the same as that MVCContrib like in the grid model examples on http://www.jeremyskinner.co.uk/2009/02/23/rewriting-the-mvccontrib-grid-part-3-gridmodels-and-gridrenderers/ ?



0
Alexander Popov
Telerik team
answered on 06 Feb 2014, 04:17 PM
Hello Ben,

I apologize if my answer was too broad. At this point using a custom class to specify the Grid's settings is not supported out of the box.

Regards,
Alexander Popov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Ben
Top achievements
Rank 1
answered on 06 Feb 2014, 11:50 PM
Thanks Alex. Could this be added as a feature request? This allows for better reuse of the grid column set-up and is a show stopper of moving to Kendo UI.
0
Alexander Popov
Telerik team
answered on 07 Feb 2014, 07:53 AM
Most certainly! I would encourage you to submit this as a feature request at the KendoUI UserVoice portal, so we and other members of the community can evaluate, comment on and vote for it. Highly voted suggestions are often implemented in future KendoUI releases.

Regards,
Alexander Popov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
Ben
Top achievements
Rank 1
Answers by
Alexander Popov
Telerik team
Ben
Top achievements
Rank 1
Share this question
or