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

TreeList for Non Self referencing data

1 Answer 71 Views
TreeList
This is a migrated thread and some comments may be shown as answers.
Usman Khalid
Top achievements
Rank 1
Usman Khalid asked on 04 Dec 2012, 11:08 AM
Hi people,
in the demo of TreeList it is written that "Its hybrid structure empowers you with the ability to visualize self-referencing data in a hierarchical view defining primary/foreign key relations and using identical objects for source."
I want to know if this control support non-self referencing data? Like

Code                 Chapter                Subchapter
----------------------------------------------------------
123456                12                          1234
456789                45                          4567
345678                34                          3456
124389                12                          1243

Here Chapter is the parent of subchapter.

12
     -1234
     -1243
45
     - 4567
34
    - 3456

Tell me can this control work for me?

1 Answer, 1 is accepted

Sort by
0
Antonio Stoilkov
Telerik team
answered on 07 Dec 2012, 06:45 AM
Hello Usman,

The whole idea behind RadTreeList is to bind only to self-referencing data. In order to achieve your scenario you could either add additional field to your data source so you could simulate self-referencing data or use our RadGrid could and use the hierarchy functionality and the DetailTableDataBind event as shown in the help article below.

Regards,
Antonio Stoilkov
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
TreeList
Asked by
Usman Khalid
Top achievements
Rank 1
Answers by
Antonio Stoilkov
Telerik team
Share this question
or