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

Tree with children with different ItemsSource?

2 Answers 59 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Shilpi
Top achievements
Rank 1
Shilpi asked on 30 Jun 2012, 10:56 PM
Hi -

Is this possible?

<

telerik:RadTreeListView.ChildTableDefinitions>

<telerik:TreeListViewTableDefinition ItemsSource="{Binding SubFolders}">

<telerik:TreeListViewTableDefinition.ChildTableDefinitions>

<telerik:TreeListViewTableDefinition ItemsSource="{Binding Files}"/>

</telerik:TreeListViewTableDefinition.ChildTableDefinitions>

</telerik:TreeListViewTableDefinition>

</telerik:RadTreeListView.ChildTableDefinitions>

My requirement is :-

A
    B
    B
        C
    C

Where B is a child of A, and C could be a child of A or B.

Its almost analogous to files and folders where B is a SubFolder and C is Files, I want these in the same TreeListView.

Thanks, Shilpi


2 Answers, 1 is accepted

Sort by
0
Shilpi
Top achievements
Rank 1
answered on 30 Jun 2012, 10:57 PM
When I use the ChildTableDefinitions as shown above, I only see SubFolders and no Files.
0
Vlad
Telerik team
answered on 02 Jul 2012, 05:36 AM
Hello,

 I'm afraid heterogeneous hierarchy is not supported for RadTreeListView. 

Regards,
Vlad
the Telerik team

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

Tags
TreeListView
Asked by
Shilpi
Top achievements
Rank 1
Answers by
Shilpi
Top achievements
Rank 1
Vlad
Telerik team
Share this question
or