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

Hierarchical RadGrid Problem

1 Answer 17 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Brian
Top achievements
Rank 1
Brian asked on 16 Aug 2012, 08:11 PM
I am trying to display hierarchical data in a RadGrid.  I don't know at design-time how many levels deep the hierarchy is, so it seems like I can't use the standard hierarchy option, which requires design of each level up-front.  Also, each branch of the hierarchy may not have the same number of levels.  It seems like the self-referencing hierarchy is what I want, but when I try to load the leaf-level data into the grid, it takes far too long (for approximately 5800 rows in my test case).  I would be willing to work around this via some kind of on-demand loading of the expanded data, but from other posts I have read in the forum, it sounds like the ServerOnDemand option is not supported for self-referencing hierarchies. 

Does anyone know of a way to accomplish what I need to do in a RadGrid?

Thanks,
Brian

1 Answer, 1 is accepted

Sort by
0
Marin
Telerik team
answered on 21 Aug 2012, 01:00 PM
Hi,

 Indeed the grid does not support load on demand for self referencing hierarchy. But the same structure can shown in the RadTreeList control which has a load on demand feature as shown in this demo.

Regards,
Marin
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
Brian
Top achievements
Rank 1
Answers by
Marin
Telerik team
Share this question
or