Hi folks,
I am experiencing the following problem: in my scenario I have a grid, which loads data, based on a date interval picker. I have decided to enable client side paging as the requested data can be around 2000 up to 10000 rows. My paging options are the following:
vm.gridOptions = {
sortable: true,
filterable: true,
groupable: true,
scrollable: true,
reorderable: true,
resizable: true,
pageable: true,
pageable: {
pageSizes: [50, 100, 500, 'all'],
buttonCount: 5,
},
and in the dataSource of the grid I have specified pageSize as 50, because I was observing some strange behavior.
So to explain the problem: when I load data for some interval and for example receive 600 elements, when "ALL" is selected as option it display all the data on one page. After that if I leave all as pageSize and extend the interval for the grid and more data is received in the datasource (lets say 900 elements), the pageSize becomes the old value of ALL - 600, two pages appear and the second page contains the rest of the data (300 elements).
As you can see from the images provided, if the next loaded period doesn't contain any information, the pageSize still remains with the last value of All. Just to mention that we are talking about an angular app (v1.4.4) with Kendo UI v2015.3.930. Thank you in advance.