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

Spinner not showing when endless scrolling

1 Answer 95 Views
ListView (Mobile)
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 11 Jun 2013, 02:47 PM
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

1 Answer, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 13 Jun 2013, 07:39 AM
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!
Tags
ListView (Mobile)
Asked by
David
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Share this question
or