I am using jquery plugin DataTables for building nice table
var table = $(\'#example\').DataTable({
\"data\": source
});
If you are using the legacy DataTables then you can get all the rows even the paginated ones, as shown below...
table.fnGetNodes(); // table is the datatables object.
So we can loop through the rows by using .each()
method provided by jQuery
.
jQuery(table.fnGetNodes()).each(function () {
// You can use `jQuery(this).` to access each row, and process it further.
});