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

Alternative Presentation for Self-Referencing Hierarchy / Grouping

2 Answers 64 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Carl
Top achievements
Rank 1
Carl asked on 02 Jun 2009, 09:18 PM
Is there any way to display the children of a hierarchy in a normal row under the parent without it showing up in a sub-grid? We have a hierarchy we want to display, but we're more interested in say an indentation between levels, like a tree view, than a whole new sub-grid.

Also, is there any way to style the headers of a grouping to match that of a normal row, or to get the aggregates and row headers to match that of a non-aggregated row?


thanks,
Carl Martin

2 Answers, 1 is accepted

Sort by
0
Kalin Milanov
Telerik team
answered on 04 Jun 2009, 08:41 AM
Hello Carl,

Currently the grid does not have a tree view functionality out of the box. However you might want to check this forum thread which might give some insight on how to create one. The thread also contains a sample application.

As gor styling the group row - you can edit the template of GridViewGroupRow. Also you might want to check this forum thread which achieves something similar.

I hope these examples will point you to the right direction for covering your requirements.

Regards,
Kalin Milanov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Praneel
Top achievements
Rank 1
answered on 13 Sep 2011, 08:34 AM
in self referencing hierarchy rad control i could bind the data but it is duplicating data while binding to this control in the below format
could any one help to get in correct format
a
b
c
d
a
  b
c
  d
b
  c
d

but i should get in following format
a
  b
    c
  d
Tags
GridView
Asked by
Carl
Top achievements
Rank 1
Answers by
Kalin Milanov
Telerik team
Praneel
Top achievements
Rank 1
Share this question
or