fnFilter search by different than

fnFilter search by different than

imacimac Posts: 19Questions: 0Answers: 0
edited February 2013 in General
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.

Replies

  • imacimac Posts: 19Questions: 0Answers: 0
    edited February 2013
    Well, finally i did it using regular expression thanks to another post i found on this forum.
    Here's my solution to look for something different than "No" for the column 7.

    [code]table.fnFilter('^((?!No).)*$', 7, true);[/code]
This discussion has been closed.