Hello all,
I'm using the jQuery datatables plug-in for my HTML table.
Is there a way to get the row count of the # of rows in my table across pages...
For example, if I have 70 rows in my table, and lets say 50 of them get displayed on the 1st page, and 20 on the 2nd page..is there a way to get the count of 70?
I've tried all the suggestions included on this link
http://stackoverflow.com/questions/1149958/jquery-count-number-of-rows-in-a-table
This includes
var rowCount = $('#myTable tr').length;
var rowCount = $('#myTable tr').size();
var rowCount = $('#myTable >tbody >tr').length;
var rowCount = $("#myTable").attr('rows').length;
But all the above suggestions seem to return the # of rows on the existing page(in this case, 50 and not 70).
Thanks,
Pritish.