2
I have a table with the plugin Datatables.
In every row of my table, I own a <input type="checkbox" />
. I have a button to enable/disable the items described in each table row.
Basically, I go through all the checkbox
and sending them to another method that there does certain actions related to the database, irrelevant part of the question.
My problem starts when I use table pagination because going through the checkbox
, I can only get the values of the ones on screen. From what I noticed, the Datatables not a simple hide()
in the records of the other pages, he will assemble the tr
of table
according to the current page.
How can I proceed to independent of the page, get all the checkbox
selected?
This bDestroy solution is quite useful. In fact, I solved my problem using this startup setting.I just don’t really understand serialize(), since only bDestroy solves the issue of pagination.
– Evandro