Pagination Issue

Pagination Issue

Ronin2490Ronin2490 Posts: 5Questions: 0Answers: 0
edited June 2012 in Bug reports
I'm having an issue with the full-numbers pagination issue. I have a datatable that is displaying records from a database, 314 records so far. we are using the full numbers pagination style and i have changed the iDisplayLength to 100. The bug is when the user clicks 'Next' the next page will appear but at the bottom is says "Showing 01,001 to 314 of 314 entries". If the user uses the page numbers (i.e 1 2 3 4 5) the bottom says "Showing 101 to 314 of 314 entries" when it is only showing records 101-200.

Replies

  • Ronin2490Ronin2490 Posts: 5Questions: 0Answers: 0
    If the display length is changed back to 25 the paging works correctly.
  • allanallan Posts: 63,381Questions: 1Answers: 10,449 Site admin
    Sounds like you are giving DataTables a string somewhere that it is expecting an integer. Could you run your table through the debugger when you see this problem please?

    Allan
This discussion has been closed.