How can data tables search bar only return distinct values?
How can data tables search bar only return distinct values?
sm1l3y
Posts: 24Questions: 7Answers: 0
For example if I search for large, xlarge is also returned...
Are there any examples to how I can have the data tables search box only return distinct results from what I search?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
You can use a regular expression search like this example. Turn on regex and turn of smart search. You can use the word boundary
\b
to search for whole words.Kevin
Thanks a lot!