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

Binding Collection of Collections to GridView

2 Answers 67 Views
GridView
This is a migrated thread and some comments may be shown as answers.
mark summers
Top achievements
Rank 1
mark summers asked on 15 Oct 2009, 06:55 PM
Anyone,

First, I must say I am new to Telerik controls, so please forgive my ignorance.

My issue: I have a collection of objects which have multiple collections of objects which have objects.

Workflows
-- containing details
--  -- containing specific action
-- containing schedule
-- -- containing recurrence data

I am able to successfully bind the workflows.

I am able to use a variety of methods to bind the next level, details or schedule.

I have not been successful binding the third level of the hierarchy. I have tried the "property" method and the "field descriptor name pair" method.

I would welcome any help,

2 Answers, 1 is accepted

Sort by
0
Rossen Hristov
Telerik team
answered on 16 Oct 2009, 11:13 AM
Hello mark summers,

You can use the RowDetails feature to achieve any level of hierarchy. In my blog post I have demonstrated how to Display Hierarchical Data with Row Details. The sample is with two levels only, but you can define row details for the child grid and thus go down as many levels as you want. Furthermore, you can place anything in the RowDetailsTemplate of a RadGridView, which means that you can host multiple child grids per level if you need to.

I have prepared a small sample project and attached it. I hope this helps.

Kind regards,
Ross
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
mark summers
Top achievements
Rank 1
answered on 16 Oct 2009, 12:07 PM
Ross,

Thank you! I'll give it a try and see where I get.

Mark
Tags
GridView
Asked by
mark summers
Top achievements
Rank 1
Answers by
Rossen Hristov
Telerik team
mark summers
Top achievements
Rank 1
Share this question
or