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

How to Apply different Hierarchy Level to individual Rows of Rad Grid View

1 Answer 138 Views
GridView
This is a migrated thread and some comments may be shown as answers.
gaurav Sri
Top achievements
Rank 1
gaurav Sri asked on 01 Oct 2010, 07:17 AM
Hi,
I need to have different hierarchy levels to individual row of Rad Gid view in my winform application.
Like-
A
B
:..X
C
:..Y
    :..Z

As shown above  A,B,C are the Rows of same Rad Grid view but all having different hierarchy Levels
A does not have any hierarchy .
B is having  one child gird named X.
C is having one child grid name Y and every row of Y having one child grid Z.
 I am having 3 buttons in my application 1,2,3.
on button click 1 i want to add A type row to Rad grid.
on button click 2 i want to add B type row to Rad grid.
on button click 3 i want to add C type row to Rad grid.

How to perform this Operation with Rad Gid for Winfoms in Visual Studio 2008 (Dot Net Framework 3.5) Sp1
in C# .net

Regards
Gaurav


1 Answer, 1 is accepted

Sort by
0
Accepted
Emanuel Varga
Top achievements
Rank 1
answered on 01 Oct 2010, 07:40 AM
Hello Gaurav,

You just have to define the hierarchy for the Grid, there are a lot of articles on how to do this (http://www.telerik.com/community/forums/search.aspx?rtf=Forum&fid=184&start=0&sid=1&q=hierarchy), and after that it's just a matter of hiding that + sign (http://www.telerik.com/community/forums/winforms/gridview/hide-hierarchy-expanded-column.aspx), or this post explaining how to define a custom hierarchy (http://www.telerik.com/community/forums/winforms/gridview/gridview-custom-hierarchy.aspx)

Hope this helps, if you have any other questions or comments, please let me know,

Best Regards,
Emanuel Varga
Tags
GridView
Asked by
gaurav Sri
Top achievements
Rank 1
Answers by
Emanuel Varga
Top achievements
Rank 1
Share this question
or