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

VirtualItemCount

2 Answers 49 Views
Data Virtualization
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ganesh Shivshankar
Top achievements
Rank 1
Ganesh Shivshankar asked on 25 Sep 2012, 08:03 AM
Hi,

How do we decide on the VirtualItemCount when initializing the VirtualQueryableCollectionView? Behavior varies based on what value is being set. If i set it to say 100, then when the grid loads it shows empty rows and then the grid populates after fetching the data. This behavior results in a staggered visual effect on the UI.

What is the best way to use virtualization? I dont seem to be able to get a good result out of this.

Thanks.

Ganesh

2 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 25 Sep 2012, 08:05 AM
Hi Ganesh,

Other possible approach can be to first call your service to get the total number of items and than create the virtual collection with the right number for VirtualItemCount.

All the best,
Vlad
the Telerik team

Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.

0
Ganesh Shivshankar
Top achievements
Rank 1
answered on 25 Sep 2012, 08:09 AM
Thanks Vlad.

Thats much better now.
Tags
Data Virtualization
Asked by
Ganesh Shivshankar
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Ganesh Shivshankar
Top achievements
Rank 1
Share this question
or