fnFilter search by different than
fnFilter search by different than
Is it possible to filter data looking for differences instead of similitudes?
I want to filter one column looking for something different than "Yes".
How can I do it?
I only know how to filter like this, but this is not what i want:
[code]table.fnFilter( 'Yes', 7 );[/code]
Thanks.
I want to filter one column looking for something different than "Yes".
How can I do it?
I only know how to filter like this, but this is not what i want:
[code]table.fnFilter( 'Yes', 7 );[/code]
Thanks.
This discussion has been closed.
Replies
Here's my solution to look for something different than "No" for the column 7.
[code]table.fnFilter('^((?!No).)*$', 7, true);[/code]