Bug with checkbox selection and pagination

Bug with checkbox selection and pagination

fescudiefescudie Posts: 2Questions: 0Answers: 0
edited May 2013 in Bug reports
Hi,

I use a function to change status of all checkboxes (see $("#check_all").click(function() { ... }).
When i use this function on first page all it is ok. But, on others pages this action works well then it loads the first page !
This loading is not wanted.

Thanks in advance.

Debug :
http://debug.datatables.net/evoxen

JSbin :
http://live.datatables.net/ufevoc/edit#javascript,html,live

Replies

  • allanallan Posts: 61,714Questions: 1Answers: 10,103 Site admin
    Its not a bug - its because the rows that aren't needed for the current page have been removed. Use the $ API method to get all rows regardless of paging - see http://datatables.net/docs/DataTables/1.9.4/DataTable.html#$

    Allan
  • fescudiefescudie Posts: 2Questions: 0Answers: 0
    Thank you.
This discussion has been closed.