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

[Solved] Child Grid Expand by default

1 Answer 196 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mallikharjun Mulagundla
Top achievements
Rank 1
Mallikharjun Mulagundla asked on 23 Dec 2009, 08:03 AM
Hi,

I am having requirement, Rad Grid with 2 levels of heirarchy. Parent Grid is having "Google like Filters" and "Pagination".
Based on some condition I am displaying(Show/Hide) the "Expand" symbol. 
Once I click on "Expand" symbol, I get data from DB and load the Child Grid.

I want to expand the Child Grid by default(Once page load, after Filtering).

Can someone suggest me how to proceed on this?
Thanks, Malli

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 23 Dec 2009, 08:32 AM
Hello Mallikharjun,

You can set the HierarchyDefaultExpanded property of the MasterTableView to True inorder to expand the child rows by default.

c#:
RadGrid1.MasterTableView.HierarchyDefaultExpanded = true;

Thanks
Princy.
Tags
Grid
Asked by
Mallikharjun Mulagundla
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or