filter not

filter not

Steve_HendySteve_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(); 
    }); 

Answers

  • Steve_HendySteve_Hendy Posts: 4Questions: 1Answers: 0

    This only filters some of the rows
    var rows = table
    .rows( '.IsProject' )
    .remove()
    .draw();

  • Steve_HendySteve_Hendy Posts: 4Questions: 1Answers: 0

    I'm using IE8

Sign In or Register to comment.