This question is locked. New answers and comments are not allowed.
Todd Millett
Top achievements
Rank 1
Todd Millett
asked on 06 Jun 2011, 11:24 AM
We actually require to have a data structure whose hierarchy can be nth level deep. Can you please provide me with an example where I can bind the gridview with such data structure. I would like to prevent adding the table definations dynamically from the codebehind depending on the levels.
4 Answers, 1 is accepted
0
Daní
Top achievements
Rank 1
answered on 06 Jun 2011, 12:52 PM
Maybe RadTreeListView control will better fit your needs than GridView. Take a look at TreeListView demo TreeListView demo
0
Hi DanĂ,
Didie
the Telerik team
The hierarchy depends on the structure of your data - if it is self-referencing or not.
You may find additional information and an example about Unlimited Hierarchy defined in XAML in this forum post. Have you already taken a look at this online demo about HierarchyChildTemplate?
Didie
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
Todd Millett
Top achievements
Rank 1
answered on 08 Jun 2011, 04:11 AM
So, does it mean that using RadGridView we cannot achieve this kind of functionality or can we have any workarounds ?
0
Hello,
Vlad
the Telerik team
If you want XAML only unlimited hierarchy you can check this thread for more info.
Regards,Vlad
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