1.10.0-beta.1 - Bug

1.10.0-beta.1 - Bug

jhenleyjhenley Posts: 2Questions: 0Answers: 0
edited February 2014 in Bug reports
I think I may have found a bug... Pagination doesn't seem to work manually, but built in pagination works fine...

i.e.

var table = $('#myTable').DataTable();
table.page('next').draw();

Replies

  • allanallan Posts: 63,368Questions: 1Answers: 10,449 Site admin
    `draw()` with no parameters will reset the paging! You want to pass false as the second parameter: http://live.datatables.net/ENAQ/1/edit

    I see that the `page()` docs are missing this parameter as well - I'll update them very shortly ( http://next.datatables.net/reference/api/page() )!

    Allan
  • jhenleyjhenley Posts: 2Questions: 0Answers: 0
    Thanks for the quick response!... That cleared it up...
This discussion has been closed.