I have a table with the DataTables plugin.
In each row of my table, I have a <input type="checkbox" />
. I have a button to enable / disable the items described in each row of the table.
Basically, I run all checkbox
and send them to another method that does certain actions related to the database, an irrelevant part of the question.
My problem starts when I use table pagination because when I go through the checkbox
, I can only get the values from those that are on the screen. From what I've noticed, DataTables does not give a simple hide()
in the records of the other pages, it sets up tr
of table
as per the current page.
How can I proceed to page-independent, get all checkbox
selected?