Hard searching model

Hard searching model

don2don2 Posts: 27Questions: 15Answers: 0
edited August 2022 in Free community support

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

  • kthorngrenkthorngren Posts: 21,343Questions: 26Answers: 4,954
    Answer ✓

    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

Sign In or Register to comment.