How to add 4 level hierarchy to radgrid in winform

2 posts, 0 answers
  1. Rahul Khinvasara
    Rahul Khinvasara avatar
    303 posts
    Member since:
    Aug 2007

    Posted 29 Apr 2010 Link to this post

    Hi All,

    I am using gridview in my desktop application.
    I want to show a hierarchical grid in the following manner,

    + Great-GrandFather

    My dataset has 4 tables like table1,table2,table3 and table4.
    I am assigning the dataset to my gridview as

     ds = getGrandparent_to_child_Dataset(); 
    //this will return me a dataset with 4 tables 
    mygridview1.DataSource = ds; 
    mygridview1.DataMember = ds.Tables[0].ToString(); 

                   Now I am getting a hierarchy upto three level i.e. upto Father

    So please help me to find out how to get Children also in Gridview i.e. 4th level of grid

    Thanks in Advance
    Rahul K.
  2. Julian Benkov
    Julian Benkov avatar
    1135 posts

    Posted 04 May 2010 Link to this post

    Hello Rahul Khinvasara,

    In your scenario the auto-generate hierarchy mode used to build the hierarchy is based on relation descriptions in the DataSet. Please review and verify your relations in the used DataSet object in order to generate all levels of hierarchy.

    Julian Benkov
    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