Unable to achieve data virtualization with treelistview

4 posts, 1 answers
  1. Manishkumar
    Manishkumar avatar
    240 posts
    Member since:
    Feb 2009

    Posted 04 Nov 2011 Link to this post

    Hi,

    I am trying to use data virtualization with radtreelistview.

    SummaryData 

    [] lstData = GetSummaryData();
    VirtualQueryableCollectionView vqResults = new VirtualQueryableCollectionView(lstData) { LoadSize = 100, VirtualItemCount = 100000 };
    radTreelistView.ItemsSource = vqResults ;


    But i am getting a blank screen.

    If I directly assign the source to radtreelistview, it loads correctly.
    I need to implement data virtualization with radtreelistview.  Are there any demerits of using data virtualization ?
    Can you please provide an example project.

    Thanks.

     

  2. Answer
    Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 04 Nov 2011 Link to this post

    Hello,

     Data virtualization is not supported for RadTreeListView due to the nature of the component. The treelist will need all the data in order to provide hierarchical sorting, filtering, etc. 

    Regards,
    Vlad
    the Telerik team

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

  3. UI for WPF is Visual Studio 2017 Ready
  4. Voltz
    Voltz avatar
    17 posts
    Member since:
    Aug 2011

    Posted 28 Feb 2013 Link to this post

    will data virtualization ever be supported for the treelistview?
  5. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 28 Feb 2013 Link to this post

    Hi,

     I'm afraid that data virtualization cannot work with RadTreeListView since this component will need all the data in order to build the hierarchy and later sort and filter while with data virtualization you have only part of the data. Neither hierarchy, sorting or filtering will work correctly with just part of the data. 

    Kind regards,
    Vlad
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top