Datatables - OR Filtering
Datatables - OR Filtering
Morgan1993
Posts: 2Questions: 1Answers: 0
I am trying to achieve 'OR' filter over multiple columns.
I have Name, Age and City columns. I want to do a search filter like this ;
(Name AND Age) OR (City)
(table.column(1).search("Name) && table.column(2).search("Age")) || table.column(3).search("City");
Currently, it only works using AND, so i was wondeirng whether there is an easy way around this to make the OR work???
Thanks in advance,
This discussion has been closed.
Answers
any ideas?