jQuery.each() only sees the first 10 rows - how to see all?

jQuery.each() only sees the first 10 rows - how to see all?

stevelstevel Posts: 8Questions: 0Answers: 0
edited February 2013 in DataTables 1.9
I'm trying to evaluate each row of a dataTable using jQuery.each() but I'm finding that only the visible rows are being returned.

Eg in the Zero Config example at http://datatables.net/release-datatables/examples/basic_init/zero_config.html the following code only returns the first 10 rows (or however many are shown in Show XX Entries):

[code]
$('#example tr').each(function(index,value) {
console.log(index);
});
[/code]

Is it possible to access all rows (not just those on the first page) using jQuery.each()?

Thanks,
Steve

Replies

This discussion has been closed.