datatables check checkbox on all pages code example
Example: datatables get all checkboxes with pagination
$('#table').DataTable().rows().every(function (rowIdx, tableLoop, rowLoop) {
var data = this.node();
console.log($(data).find('input:checked'));
});