can we search multiple strings in multiple columns ?
can we search multiple strings in multiple columns ?
Sanit Kale
Posts: 23Questions: 9Answers: 0
i have tried below code but its not working
var val='profile|officer|work';
oTable.api().columns([0,1]).search(val, true, false ).draw();
This discussion has been closed.
Answers
Sounds like you are expecting an OR search where Datataables performs an AND search over the columns. There are many threads discussing this like this one:
https://datatables.net/forums/discussion/comment/152601/#Comment_152601
See if that thread helps.
Kevin