Exclusive/Inclusive Filter

Exclusive/Inclusive Filter

fsmithfsmith Posts: 6Questions: 0Answers: 1
edited April 2013 in General
Don't know if this is possible, but what I wish to implement is the ability for the user to click on a row/column and be presented with the option of either filtering out all such column values or to include only those column values. I would need access to the filtered list to update a chart based on the table.

Has anyone implemented a similar filter?

Thanks,
Frank

Replies

  • allanallan Posts: 63,516Questions: 1Answers: 10,472 Site admin
    I'm not aware of anything quite like that, but you'd use fnFilter with a negated regular expression for the exclusion aspect and just a regular call to fnFilter to keep it. The other option is to write a custom filtering plug-in.

    Allan
  • fsmithfsmith Posts: 6Questions: 0Answers: 1
    OK, thanks. I was afraid of that.

    Frank
  • allanallan Posts: 63,516Questions: 1Answers: 10,472 Site admin
    Why afraid - what's the problem? You just need to add a little bit of regex to it :-)

    Allan
This discussion has been closed.