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

virtualViewSize on mobile list

3 Answers 20 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 28 Jan 2014, 06:02 AM
There is no documentaton for the virtualViewSize property of the MobileListView.  There is only a demo... which fails to answer many questions, such as... how does this work?  I"m working of local data not odata so the demo doesn't show how i would set up paging for local data.

http://demos.telerik.com/kendo-ui/mobile/listview/local-virtualization.html

3 Answers, 1 is accepted

Sort by
0
Petyo
Telerik team
answered on 28 Jan 2014, 11:27 AM
Hi Mark,

indeed, the virtualViewSize is not yet documented, since the local data virtualization is a relatively new feature. 

The virtualViewSize configuration option is required if you need to use local data. It works just like the pageSize datasource option in the remote data scenario – 1/2 of it gives the total number of items displayed at any moment. This means that virtualViewSize=80 will result in 40 items in total. 

Regards,
Petyo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Mark
Top achievements
Rank 1
answered on 28 Jan 2014, 03:01 PM

So if I have a datasourse populated with local data, should I not be using the datasource.pageSize property and instead this property?

Also is there any way to use virtualization woth grouping?
a

0
Petyo
Telerik team
answered on 30 Jan 2014, 08:14 AM
Hello Mark,

yes, this is correct. You can start from the working demo and swap the sample data with yours. Unfortunately, grouping is not supported in virtual mode currently. 

Regards,
Petyo
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
General Discussions
Asked by
Mark
Top achievements
Rank 1
Answers by
Petyo
Telerik team
Mark
Top achievements
Rank 1
Share this question
or