Spinner not showing when endless scrolling

2 posts, 0 answers
  1. David
    David avatar
    3 posts
    Member since:
    Feb 2011

    Posted 11 Jun 2013 Link to this post

    Hey,

    I've set up a listview to be endless scrolling with a local data source (not remote). The functionality works correctly but I'm not getting a spinner showing when the next batch of data is being displayed. Should this work out of the box or have a missed a parameter needed in the set up?
    $("#events-listview").kendoMobileListView({
         dataSource: kendo.data.DataSource.create({data: viewModel.events, pageSize: 30}),
         template: $("#events-list-template").html(),
         endlessScroll: true,
         scrollThreshold: 30
    });

    Thanks in advance

  2. Alexander Valchev
    Admin
    Alexander Valchev avatar
    2875 posts

    Posted 13 Jun 2013 Link to this post

    Hello David,

    The behaviour is expected by design. Spinning animation is shown to indicate that the widget is processing ajax request. In case you use a local data, there are no asynchronous requests because data is retrieved immediately.

    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
Back to Top