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

Virtual Or Custom Scrolling

1 Answer 138 Views
ListView
This is a migrated thread and some comments may be shown as answers.
Adam
Top achievements
Rank 1
Adam asked on 30 Aug 2016, 03:29 AM

I'm looking to customize the paging of the ListView to have an infinite scroll (loading next group when getting to the bottom). Similar to the functionality offered in the grid. Is there any way to achieve this? It kind of looks like the ASP.NET AJAX listview has the ability to customize the pager. Is there any way to go about this?

 

Thanks

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 01 Sep 2016, 05:47 AM
Hi Adam,

Endless scrolling is supported out-of-the box by the Hybrid UI ListView widget, i.e.

//initialize the Mobile ListView
$("#listView").kendoMobileListView({
    dataSource: dataSource,
    template: "#: name #",
 
    endlessScroll: true,
    virtualViewSize: 50 // needed setting, since local data virtualization does not use paging
});

You can check how theendlessScroll setting works at - http://docs.telerik.com/kendo-ui/api/javascript/mobile/ui/listview#configuration-endlessScroll

As to the web Kendo ListView you can try the workaround provided in this blog post: Kendo UI ListView Infinite Scroll for Non-Mobile ListView.
Yet, another solution from March 3th, 2015 is provided in StackOverflow at Implementing endless scroll with web listview.


Best regards,
Rumen
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
ListView
Asked by
Adam
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or