Simultaneously filter multiple data from a same column
Simultaneously filter multiple data from a same column
alang2205
Posts: 18Questions: 11Answers: 0
in DataTables
taking this as an example: https://datatables.net/
how can i simultaneously search for Angelica Ramos and Airi Satou, so that with only one search i can have both names
This question has an accepted answers - jump to answer
Answers
Use a regex search with
column().search()
, for example:http://live.datatables.net/pexucaya/1/edit
See the
search()
for more details about the different search modes and how to apply them. Also look at this example.Kevin
i dont understand the example, i try to write both names in the search bar but nothing happens
By default,
search.regex
is disabled for the standard search - you'll need to enable it - see Kevin's example updated here.Here it is in action:
Colin