filter not
filter not
Steve_Hendy
Posts: 4Questions: 1Answers: 0
I am trying to filter out a class. Can anyone help? Here is what I have so far.
$("#myTick input").prop({checked: false});
var table = $('#myTable').DataTable();
if (this.checked){
var rows = table.rows( "tr[class^='IsProject']" );
rows.remove().draw();
alert("not working yet");
}
else{
table.columns( 14 ).search( '' ).draw();
}
FactoredSubTotal();
});
This discussion has been closed.
Answers
This only filters some of the rows
var rows = table
.rows( '.IsProject' )
.remove()
.draw();
I'm using IE8