Listview Mobile endless scroll pageSize and scroll to top with space

2 posts, 0 answers
  1. kwanchanok
    kwanchanok avatar
    22 posts
    Member since:
    May 2014

    Posted 11 May 2015 Link to this post

    endless scroll not working when i set pageSize is 20,but if i set pageSize =10 endless scroll will work

    below is my code

     var dataSource ={
                       data: data
                       , serverPaging: true
                      , pageSize:20
                           dataSource: dataSource,
                            endlessScroll: true,
                           template: $("#evDetail").html()

     and i have another one problem is when i scroll back to top the first and second record is disapear and display space


  2. Martin Yankov
    Martin Yankov avatar
    177 posts

    Posted 13 May 2015 Link to this post


    In order to bind the ListView endless scrolling feature to work as expected, you need to set the property. This is explained in the Mobile ListView Endless Scrolling docs article.

    Try it out and let me know the results.

    Martin Yankov

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

Back to Top