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

Hot to do Self-referencing hierarchy manually?

2 Answers 91 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Luka
Top achievements
Rank 1
Luka asked on 20 Sep 2011, 08:04 AM
Is there a sample project or demo where I can see how to do Hierarchy in the grid without using self reference?
Like doing a Hierarchy but on the same table.

thanks

2 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 20 Sep 2011, 08:25 AM
Hello Luka,

The following forum thread contains a sample project on the same. Please download and give a try.
Self-referencing hierarchy dynamicaly.

Thanks,
Shinu.
0
Luka
Top achievements
Rank 1
answered on 20 Sep 2011, 12:25 PM
This is ok, but it is not what I want.
I want no to use SelfReferenceHierarchy, but to use Master and Details tables views. So that I use masterview as parrent and inside master view I put details tables as childrens, but from the same datasource. Because I allready have datasource that has parent-child relationship.

Ie.  to be able to set MasterTableView Key to "Parrent_ID" and DetailTables Key to "Child_ID".

I don't want rad grid to build the hierarchy automatically, I want to do it.

Tags
Grid
Asked by
Luka
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Luka
Top achievements
Rank 1
Share this question
or