Hierarchical data template

5 posts, 0 answers
  1. Todd Millett
    Todd Millett avatar
    115 posts
    Member since:
    Jul 2009

    Posted 06 Jun 2011 Link to this post

    We actually require to have a data structure whose hierarchy can be nth level deep. Can you please provide me with an example where I can bind the gridview with such data structure. I would like to prevent adding the table definations dynamically from the codebehind depending on the levels.
  2. Daní
    Daní avatar
    303 posts
    Member since:
    Feb 2008

    Posted 06 Jun 2011 Link to this post

    Maybe RadTreeListView control will better fit your needs than GridView. Take a look at TreeListView demo TreeListView demo
  3. DevCraft banner
  4. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 06 Jun 2011 Link to this post

    Hi Daní,

    The hierarchy depends on the structure of your data - if it is self-referencing or not. 

    You may find additional information and an example about Unlimited Hierarchy defined in XAML in this forum post.  Have you already taken a look at this online demo about HierarchyChildTemplate?

    Kind regards,
    Didie
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. Todd Millett
    Todd Millett avatar
    115 posts
    Member since:
    Jul 2009

    Posted 07 Jun 2011 Link to this post

    So, does it mean that using RadGridView we cannot achieve this kind of functionality or can we have any workarounds ?
  6. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 08 Jun 2011 Link to this post

    Hello,

     If you want XAML only unlimited hierarchy you can check this thread for more info. 

    Regards,
    Vlad
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top
DevCraft banner