Hard searching model
Hard searching model
don2
Posts: 27Questions: 15Answers: 0
I have 2 types of status: ACTIVE and PRE-ACTIVE
when user types ACTIVE in the search box, then the search result will also shows the PRE-ACTIVE (I say this as Soft searching model), I expect it to only shows the 'ACTIVE' ones (I say this as Hard searching model) , any idea how to do this for only the certain columns with Datatables?
This question has an accepted answers - jump to answer
Answers
First read about the different search modes in the
search()
docs. You will want to turn off smart search and use regex searching. See this example for how to use regex searching in a column to get an exact match.Kevin