I'm using jQuery datatables. I'd like to hide all rows with class="hidden"
.
This code:
var table = $('#table1').DataTable();
table.rows('.hidden').hide();
It's not working (rows are not hidden), and I see this text in console:
table.rows(...).hide is not a function
How can I use class="hidden"
to hide all rows?
Aucun commentaire:
Enregistrer un commentaire