Tree with children with different ItemsSource?

3 posts, 0 answers
  1. Shilpi
    Shilpi avatar
    18 posts
    Member since:
    Jan 2012

    Posted 30 Jun 2012 Link to this post

    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. Shilpi
    Shilpi avatar
    18 posts
    Member since:
    Jan 2012

    Posted 30 Jun 2012 Link to this post

    When I use the ChildTableDefinitions as shown above, I only see SubFolders and no Files.
  3. DevCraft banner
  4. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 02 Jul 2012 Link to this post

    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 >>

Back to Top