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

Unable to achieve data virtualization with treelistview

3 Answers 105 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
Manishkumar
Top achievements
Rank 1
Manishkumar asked on 04 Nov 2011, 11:00 AM
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.

 

3 Answers, 1 is accepted

Sort by
0
Accepted
Vlad
Telerik team
answered on 04 Nov 2011, 11:02 AM
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 >>

0
Voltz
Top achievements
Rank 1
answered on 28 Feb 2013, 10:50 AM
will data virtualization ever be supported for the treelistview?
0
Vlad
Telerik team
answered on 28 Feb 2013, 11:31 AM
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.

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