Best way to filter with tokens?

Best way to filter with tokens?

domingodomingo Posts: 8Questions: 0Answers: 0
edited January 2010 in General
What is the best approach to make the filter accept tokens, like OR, NOT or " ".

Regards
Domingo

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    Hi Domingo,

    The filtering in DataTables uses regular expressions, so you can get what you need from that ( http://datatables.net/api#fnFilter ). It's worth noting that when using global filtering DataTables treats a space character as an effective AND (to make filtering easier by default). The column based filtering does not do this.

    This might also be of interest to you for more complex filters: http://datatables.net/development/filtering

    Regards,
    Allan
This discussion has been closed.