GridView binding Collection of Collection

4 posts, 0 answers
  1. Darryl
    Darryl avatar
    6 posts
    Member since:
    Apr 2013

    Posted 03 Apr 2013 Link to this post

    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!
  2. Darryl
    Darryl avatar
    6 posts
    Member since:
    Apr 2013

    Posted 03 Apr 2013 Link to this post

    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.
  3. Yoan
    Admin
    Yoan avatar
    1180 posts

    Posted 03 Apr 2013 Link to this post

    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.

  4. Darryl
    Darryl avatar
    6 posts
    Member since:
    Apr 2013

    Posted 03 Apr 2013 Link to this post

    Thanks Yoan and duly noted! I love the GridView control by the way!

    Regards
Back to Top