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

RadGridView: Hierarchical

4 Answers 95 Views
GridView
This is a migrated thread and some comments may be shown as answers.
jc
Top achievements
Rank 1
jc asked on 29 Mar 2010, 08:49 AM
hi,

is it possible for the radgridview to have more than 1 child level hierarchy (just like what we can do in treeview with hierarchical data template)?

i have an object which has a list of children objects of the same type and each children object may have a children of the same type as well and so on.

How do i this in the Rad Grid View?

I have tried using RadGridView.HierarchyChildTemplate, but this only shows the imediate children, how can i make this in a way recursive?

thanks and hoping for a quick response

4 Answers, 1 is accepted

Sort by
0
Accepted
Pavel Pavlov
Telerik team
answered on 29 Mar 2010, 09:16 AM
Hi jc,

In this thread  you may download an example resembling a  scenario simillar to yours.

All the best,
Pavel Pavlov
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.
0
jc
Top achievements
Rank 1
answered on 29 Mar 2010, 09:33 AM
thanks for the quick response.

I would like to confirm, that doing this type of behavior cannot be done in design time i assume?
0
Pavel Pavlov
Telerik team
answered on 29 Mar 2010, 09:43 AM
Hello jc,

You could actually do it in XAML , but you would have to declare a hierarchy template for each level .. so in the case you do not know how much levels deep your hierarchy goes such approach will not be in help.

Wa are already thinking on improvements for the hierarchy templating which would make such tasks  achievable codeless.

All the best,
Pavel Pavlov
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.
0
jc
Top achievements
Rank 1
answered on 29 Mar 2010, 12:02 PM
ok.

Thank you for all the help! Really appreciate it.
Tags
GridView
Asked by
jc
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
jc
Top achievements
Rank 1
Share this question
or