Serve Side paging (with full page numbers) breaks when I reach the last page.

Serve Side paging (with full page numbers) breaks when I reach the last page.

rstadlerrstadler Posts: 5Questions: 0Answers: 0
edited March 2014 in General
I have paging size set to 100. iTotalDisplayRecords=1019. iTotalRecords=2498. iDisplayLength=100. To start, I get the first page -works fine.
Then I either hit 'Next' or the next 'page number' until I get to page 10 (the last page where things are OK). As page 10 displays in my table, the page numbers are 'First Previous 7 8 9 10 11 Next Last'. At this point if I hit either '11' or 'Next' the results of 1001 thru 1019 are returned correctly, but the paging gets broke(!! This is the problem !!) -->> it becomes 'First Previous 50 51 52 53 54 Next Last'. Proceeding with this only produces similar errors.

Replies

  • rstadlerrstadler Posts: 5Questions: 0Answers: 0
    This addition is from the posting author. Note that the new/wrong page numbers 51,52,,etc result from 1019/19 (where 19 is the number of records returned in the last page).
This discussion has been closed.