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

Self Reference with DataTable

6 Answers 66 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
Ramasamy
Top achievements
Rank 1
Ramasamy asked on 12 Oct 2011, 06:41 AM
Hi,

Is it possible to achieve the Self Reference Hierarchy (RadGridView) feature in TreeListView without using list. I mean I have a datatable with the columns like ID, Name, Parent ID, Location, etc.

I have directly binded the DataTable property to the RadGridView like that I have to do with TreeListView to avoid parent child column width, scrolling for child gird, etc.

Please help me to achieve this with TreeListView.

Thanks,
Ramasamy

6 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 12 Oct 2011, 07:03 AM
Hello Ramasamy,

 Indeed you can use any source to bind RadTreeListView - including DataTable. 

Kind regards,
Vlad
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Ramasamy
Top achievements
Rank 1
answered on 12 Oct 2011, 07:15 AM
Hi,

Yes. Its possible to bind the DataTable but if I bind the datatable its not showing the parent child relationship. it shows all in one level. I need the functionality of SELF REFERENCE HIERARCHY (RADGRIDVIEW) in TreeListView with DataTable.

Thanks,
Ramasamy
0
eliraz
Top achievements
Rank 1
answered on 27 Feb 2012, 06:24 PM
Hello,
I use wpf Q1 2012 demo version, 
I need this functionality too, how can I implemention this?
Thanks.
0
MURAT ERAYDIN
Top achievements
Rank 1
answered on 20 Mar 2012, 02:41 PM
Hi,

I need this feature too. Your answer is not satisfactory. Could you please post sample code implementing self-referencing DataTable binding with RadTreeListView.

Regards.
0
Florent
Top achievements
Rank 1
answered on 17 Mar 2016, 05:05 PM

I am searching for the same feature can you please provide a example?

Regards.

0
Stefan Nenchev
Telerik team
answered on 18 Mar 2016, 02:49 PM
Hello Florent,

Unfortunately, self-referencing is not a functionality that the RadTreelistView supports. You can check the following threads from our forum:

- with TreeListView

- TreeListView Performance Issue

As RadGridView supports self-referencing, you can consider using it in your application. 

Regards,
Stefan Nenchev
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Tags
TreeListView
Asked by
Ramasamy
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Ramasamy
Top achievements
Rank 1
eliraz
Top achievements
Rank 1
MURAT ERAYDIN
Top achievements
Rank 1
Florent
Top achievements
Rank 1
Stefan Nenchev
Telerik team
Share this question
or