fnFiltering by a boolean value
fnFiltering by a boolean value
drorp24
Posts: 1Questions: 0Answers: 0
Hi there,
I'm a real fan of DataTables, a truly remarkable piece.
I'd like to have the rows of my dataTable, once loaded, segregated into several different tabs, according to certain criteria. Each tab once selected will show the rows that pertain to some criteria. I'm programmatically using fnFilter for this.
While this works for a string:
[code]
pTable.fnFilter( 'PendingPayer' , 1, true, false, false);
[/code]
Neither the following, nor 'true' or 't' work:
[code]
pTable.fnFilter( true , 1, true, false, false);
[/code]
Surely I'm doing it wrong.
How do I filter by true or false?
Thanks,
Dror
I'm a real fan of DataTables, a truly remarkable piece.
I'd like to have the rows of my dataTable, once loaded, segregated into several different tabs, according to certain criteria. Each tab once selected will show the rows that pertain to some criteria. I'm programmatically using fnFilter for this.
While this works for a string:
[code]
pTable.fnFilter( 'PendingPayer' , 1, true, false, false);
[/code]
Neither the following, nor 'true' or 't' work:
[code]
pTable.fnFilter( true , 1, true, false, false);
[/code]
Surely I'm doing it wrong.
How do I filter by true or false?
Thanks,
Dror
This discussion has been closed.