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

Hierarchical structure in single table

3 Answers 72 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Evan
Top achievements
Rank 1
Evan asked on 12 Jul 2011, 08:17 PM
I want to create parent/child relationships in my RadGrid without using a NestedViewTemplate or Detailed GridTableView.  The parent records should be able to expand/collapse to show the child rows.  I would like to have just the MasterTableView because I need the child rows to have the exact same columns as the parent rows.  I also do not want to go through the trouble of making sure the column sizes are in sync after a user changes the column.  I don't see any obvious way to do this.  Am I missing something?

I tried using a DetailTableView to do this.  I added the same columns to it as the MasterTableView and the columns did not match up.

3 Answers, 1 is accepted

Sort by
0
Evan
Top achievements
Rank 1
answered on 12 Jul 2011, 09:02 PM
Looks like maybe I need to look at the Self-referencing Hierarchy
0
Evan
Top achievements
Rank 1
answered on 13 Jul 2011, 01:11 AM
The Self-Referencing Hierarchy does not adjust the detail table when the master table columns are adjusted.  It does also not scroll when the master table is scrolled.  Any suggestions out there?
0
Vasil
Telerik team
answered on 18 Jul 2011, 07:54 AM
Hello Evan,

You could try to use RadTreeList instead of the RadGrid. From the last release you scrolling is also available.

Kind regards,
Vasil
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
Grid
Asked by
Evan
Top achievements
Rank 1
Answers by
Evan
Top achievements
Rank 1
Vasil
Telerik team
Share this question
or