Listview + endless scrolling + Local Data +virtualViewSize

4 posts, 0 answers
  1. Mohammad
    Mohammad avatar
    20 posts
    Member since:
    Feb 2013

    Posted 24 Nov 2013 Link to this post

    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.

  2. Alexander Valchev
    Admin
    Alexander Valchev avatar
    2875 posts

    Posted 26 Nov 2013 Link to this post

    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!
  3. Kendo UI is VS 2017 Ready
  4. Mohammad
    Mohammad avatar
    20 posts
    Member since:
    Feb 2013

    Posted 26 Nov 2013 Link to this post

    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!
  5. Alexander Valchev
    Admin
    Alexander Valchev avatar
    2875 posts

    Posted 28 Nov 2013 Link to this post

    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!
Back to Top
Kendo UI is VS 2017 Ready