custom searchfield

custom searchfield

David1981David1981 Posts: 6Questions: 0Answers: 0
edited January 2013 in General
Hello,

How is it possible to customize searchfilter so that it filters on any string/word in the search-field.
So that the search matches all words.

for example: searchstring = "York Washington"

should give following:
Yorkshire
New York
Washington

How can I achieve this?
Thx!

Replies

  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin
    You need to use a regular expression for the input. There are a number of similar posts in the forum such as: http://datatables.net/forums/discussion/12941/logical-or-filter-for-one-specific-column/p1 .

    Allan
This discussion has been closed.