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

[Solved] Grid inside of a grid

1 Answer 16 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.
Matt
Top achievements
Rank 1
Matt asked on 17 Jan 2012, 10:58 PM
Hey guys,
Right now I have a Grid that is working just fine but now I have a new requirement that is really adding a new level of complexity. My original grid is based on a simple model and now I have to add a column to the grid which would show, for each row, a grid that would be bound to a list of a different model. The original model contains the list already as a property.
Is this possible?

1 Answer, 1 is accepted

Sort by
0
Petur Subev
Telerik team
answered on 18 Jan 2012, 01:45 PM
Hi Matt,

Yes it is possible you need to set the Template/ClientTemplate of that column of the master Grid (based on your binding Server/Client) to render a Grid using the collection property of the model. Please notice the demos set the template of the DetailView and you need to set the template of the column.

Kind regards,
Petur Subev
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
Matt
Top achievements
Rank 1
Answers by
Petur Subev
Telerik team
Share this question
or