How to check if the table is empty
How to check if the table is empty
lenamtl
Posts: 265Questions: 65Answers: 1
Hi,
What would be the best way to check if the table is empty?
I'm using this to count the selected items
var itemcount = table52.rows( { selected: true } ).count();
I'm looking for similare way to know if the table is empty.
Thanks
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
You could use the same technique, something like
Colin
You could use
table52.rows().count();
.You can use
page.info()
.Kevin
Thanks !