I want a statement that returns the number of rows in a data table?
Which use it?
Use info and set it to true. You'll get the number of rows that are currently displayed as well as the total number in the entire table.
Use page.info() to get information about the data contained in a table. Or you could use rows() (table.rows().eq(0).length).
It looks like you're new here. If you want to get involved, click one of these buttons!
DataTables designed and created by SpryMedia Ltd.
SpryMedia Ltd is registered in Scotland, company no. SC456502.