I want to count all rows inside a column with the output idea.
I tried this:
alert('Rows: ' + table.column(1).rows(':contains("idea")').count());
the .column(1) doesn't seem to work because it also counts other columns.
Example of the DataTable
Column0 | Column1
------------------
blahidea | error
blah | idea
blah | idea
blah | error
the alert will count 3 and not 2! What do I need to change that it counts only 2?