Exact match in search #370
Unanswered
larisahertzler
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am implementing a search, and I would like it to be an exact match. Is this supported in any way currently, or could it be added?
This is what I am doing currently. However, when I have data like 2 and 12, and the value is 2, both rows are returned. I only want the row with the value of 2.
myDatatable.search(this.value, [3]);
I also tried using regex, but that didn't work.
myDatatable.search("(^"+this.value+"$)", [3]);
Beta Was this translation helpful? Give feedback.
All reactions