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

GridView binding Collection of Collection

3 Answers 60 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Darryl
Top achievements
Rank 1
Darryl asked on 03 Apr 2013, 09:42 AM
Hi Guys

I am currently trying out your radGridView for its hierarchical ability with the hope to purchase if I can get the following to work:

I need to be able to create the hierarchical gridview, with the child being bound to a collection of the original collection. To explain...

I have the following 3 simple classes

public class Task
{
string Name;
string Description
}

public class Phase
{
string Name;
string Description;
ObservableCollection<Task> Tasks
}

public class Project
{
string Name;
string Description
ObservableCollection<Phase> Phases
}

As you can see above, Tasks is a collection within Phase and Phases is a collection within Project.
Now what I want to do with displaying this is Project to be the "root"/"parent", the collection of Phases as the "child" to Project and the collection of Tasks as the "child" to Phases.

Is this possible with the RadGridView? If so, could you PLEASE point me in the right direction to achieve this layout with the RadGridView?

If you need any more info please ask!

Thanking you in advance!

3 Answers, 1 is accepted

Sort by
0
Darryl
Top achievements
Rank 1
answered on 03 Apr 2013, 12:26 PM
Alright, I figured it out... Hopefully we'll have better query response time when we're paying customers or a different medium to access support.
0
Yoan
Telerik team
answered on 03 Apr 2013, 01:01 PM
Hello,

Please be advised that the Telerik Community Forum is to provide a free form of peer-to-peer communication between registered Telerik users. The forums are not moderated and should not be considered support substitutes. Nevertheless, all posts are actively monitored and most of them are replied to. Additionally, a post is not assigned a response time as with the support ticketing system.As a licensed user you'll be entitled to receive technical support from us in the most efficient manner, i.e. 24h response time, Mon-Fri.

Regards,
Yoan
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Darryl
Top achievements
Rank 1
answered on 03 Apr 2013, 01:05 PM
Thanks Yoan and duly noted! I love the GridView control by the way!

Regards
Tags
GridView
Asked by
Darryl
Top achievements
Rank 1
Answers by
Darryl
Top achievements
Rank 1
Yoan
Telerik team
Share this question
or