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

Listview + endless scrolling + Local Data +virtualViewSize

3 Answers 151 Views
ListView (Mobile)
This is a migrated thread and some comments may be shown as answers.
Mohammad
Top achievements
Rank 2
Mohammad asked on 24 Nov 2013, 01:09 PM
Hi,

So am having trouble with making the listview work.
after I create the listview with the following options turned on and populate some data there is a lag with scrolling down and when i reach the bottom i cannot check the last 4 items and sometimes the loading image is still there.

I tracked the issue down and though its from my code but turned out that you have the same problem going on as well and this shows only on IPad and not on the browser.

Notice that in your cuteness.io app the gap from the bottom as well as the gap from the top and this happens if you scroll to the bottom then scroll up then down then up and suddenly you get this.

3 Answers, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 26 Nov 2013, 05:35 PM
Hi Mohammad,

The cuteness.io datasource page size is adjusted for a phone size display. In case you are targeting tablet sized screens, you should increase it.

How endless scrolling works and how the pageSize influences user experience/application performance is explained in details at ListView Getting Started help article:

Regards,
Alexander Valchev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Mohammad
Top achievements
Rank 2
answered on 27 Nov 2013, 04:58 AM
Wasn't the first intention of kendo is to write once and target everywhere without the need of doing browser checks and support?
So by your answer i need to check for tablet and for mobile ? since am targeting mobile & tablet devices.
Thanks!
0
Alexander Valchev
Telerik team
answered on 28 Nov 2013, 03:21 PM
Hi Mohammad,

We are doing our best to provide solutions which run out of the box in all supported browsers, platform and devices however sometimes it is required for the developer to perform some manual adjustments. Virtual data scrolling of the ListView is tightly coupled with the screen size of the device - e.g. how many are visible on the screen. In this particular case we cannot provide an automatic solution which is why you should either detect the device or use the pageSize value that is suitable for the biggest screen.

For more information please check the following help topics:

Regards,
Alexander Valchev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
ListView (Mobile)
Asked by
Mohammad
Top achievements
Rank 2
Answers by
Alexander Valchev
Telerik team
Mohammad
Top achievements
Rank 2
Share this question
or