datatables get all selected rows code example
Example: datatables get all rows
var table = $('#example').DataTable();
table.rows().data().map((row) => {
// each row is an array where each column is an element in the array
// as a string
}
var table = $('#example').DataTable();
table.rows().data().map((row) => {
// each row is an array where each column is an element in the array
// as a string
}