Quantcast
Channel: DataTables 1.10 — DataTables forums
Viewing all articles
Browse latest Browse all 2364

OR-Search

$
0
0

I would like to search for several items that are provided in an array. If one of the item is present in the column identified by the index, the row should be shown. This means it should be an OR search. Currently I am using join(' '), which output no results, because its interpreted as AND search. How can I make an OR search? Some items contains spaces, consists of several words...
The search by the user (input field), should work normally, as provided by DataTables, but additonally to the search explained above.

Here is an example: https://jsfiddle.net/erik_stengel/bhogtnxs/#&togetherjs=vFMhwEPgUc


Viewing all articles
Browse latest Browse all 2364

Trending Articles