ListView, setDataSource and paging

1 Answer 77 Views
Data Source ListView Pager
Top achievements
Rank 1
Daniel asked on 13 Dec 2022, 12:19 AM


We're not sure if this is a bug or feature.

Using ListView and the method setDataSource with the built-in paging. The ListView appears to change data sources but the paging doesn't. Tried using the refresh() method but same result.

We worked around it by using the Pager widget and ListView without the bulit-in paging and this seems to work okay.

It's not a problem. Just found it weird that we do the same for a Grid on the same page using the method setDataSource and the data source changes okay along with the paging.

Any thoughts?

// First load
var dataSourceListView = new{
	data: dataSource,
	pageSize: 8

	dataSource: dataSourceListView,
	dataBound: function () {
	template: kendo.template($("#template").html()),
	pageable: true	

// Not first load

1 Answer, 1 is accepted

Sort by
Georgi Denchev
Telerik team
answered on 15 Dec 2022, 09:34 AM

Hi, Daniel,

Thank you for the provided details.

This behavior does seem incorrect and inconsistent, I've logged an issue about it in our public GitHub repository: 


You can call the internal _pageable method after calling setDataSource to reset the Pager component as well:



I've also added some Telerik Points to your account as a sign of gratitude for reporting this behavior.

Best Regards,
Georgi Denchev
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Data Source ListView Pager
Asked by
Top achievements
Rank 1
Answers by
Georgi Denchev
Telerik team
Share this question