Answers for "datatables get total number of rows"

2

datatable count number of rows

var table = $('#example').DataTable();
table.rows().count();
Posted by: Guest on July-11-2020
1

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
}
Posted by: Guest on November-19-2020

Code answers related to "datatables get total number of rows"

Browse Popular Code Answers by Language