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

How to add 4 level hierarchy to radgrid in winform

1 Answer 109 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Rahul Khinvasara
Top achievements
Rank 1
Rahul Khinvasara asked on 29 Apr 2010, 10:51 AM
Hi All,

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

+ Great-GrandFather
                      +GrandFather
                                       +Father
                                                 Children


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.

1 Answer, 1 is accepted

Sort by
0
Julian Benkov
Telerik team
answered on 04 May 2010, 06:29 PM
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.

Regards,
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.
Tags
GridView
Asked by
Rahul Khinvasara
Top achievements
Rank 1
Answers by
Julian Benkov
Telerik team
Share this question
or