I can't seem to find this anywhere. I have a dataTable like this one, and I want to be able to count the number of rows in the dataTable in javascript. how would that be accomplished? thanks!
I need it in javascript because I want to iterate through the datatable and check to see if any rows cantain certain data in them.
EXAMPLE PSEUDOCODE
var tableSize = someway to get table size;
for (i = 0; i < tableSize; i++) {
if (dataTable.row(i).value == "someValue") {
//do something
}