Hi guys.
I'm trying to implement the most basic version of virtual scrolling. (http://www.telerik.com/help/aspnet-ajax/grid-virtual-scrolling.html)
It works as intended, as long as I'm using a very small pagesize (no larger than 10 basically), or if I'm setting the height of the grid high enough, so that it basically displays all records (of the current page) with very little scrolling.
But that's the only time when it works correctly on my end. As soon as I increase the pagesize of the grid and keep the height of it "normal", it starts paging too early and "skipping" rows.
Let's say I'm binding 200 records to the grid, and using a pagesize of 100, sorting the grid desc by id.
I scroll down, but when I reach approximately the row with id of 140, the grid pages to the second page, and shows me correctly the second page of the grid.
But I can never access the rows between 100 and 140...
Any idea why this is happening?
Regards,
-DJ-
I'm trying to implement the most basic version of virtual scrolling. (http://www.telerik.com/help/aspnet-ajax/grid-virtual-scrolling.html)
It works as intended, as long as I'm using a very small pagesize (no larger than 10 basically), or if I'm setting the height of the grid high enough, so that it basically displays all records (of the current page) with very little scrolling.
But that's the only time when it works correctly on my end. As soon as I increase the pagesize of the grid and keep the height of it "normal", it starts paging too early and "skipping" rows.
Let's say I'm binding 200 records to the grid, and using a pagesize of 100, sorting the grid desc by id.
I scroll down, but when I reach approximately the row with id of 140, the grid pages to the second page, and shows me correctly the second page of the grid.
But I can never access the rows between 100 and 140...
Any idea why this is happening?
Regards,
-DJ-