Filtering for a sentence and not multiple words

Filtering for a sentence and not multiple words

vsrivastavavsrivastava Posts: 2Questions: 0Answers: 0
edited January 2014 in General
This topic was discussed in this post-
http://datatables.net/forums/discussion/comment/7299

But, as I understand from the comments in that post, there is no feature/flexibility in DataTable to switch between a sentence search and multiple words search.

Has this been rectified in the latest version of DT? If yes, could someone please point me to the same?

Thanks!

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    You can enable and disable smart filtering using the fnFilter API (smart filtering is what does the multi-word matching): http://datatables.net/api#fnFilter .

    Allan
  • vsrivastavavsrivastava Posts: 2Questions: 0Answers: 0
    Thanks Allan!
    I had tried this earlier but was making a mistake which I figured out today. It works perfectly now.

    Regards
    Allan
This discussion has been closed.