Find an exact value in a column
Find an exact value in a column
![Issues2018](https://secure.gravatar.com/avatar/2b5f7733f37fe2b0b2ec3fa5fbd7c2fe/?default=https%3A%2F%2Fvanillicon.com%2F2b5f7733f37fe2b0b2ec3fa5fbd7c2fe_200.png&rating=g&size=120)
Hello, I have a DataTable like this: http://live.datatables.net/huloxiqo/1/.
When I search for Juan, The table shows me all row that CONTAIN Juan in the field, but I want that the table shows me ONLY the rows which field is Juan.
How can I do it?
Thanks
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Hello @Issues2018 - The data tables search field doesn't seem to have a system for an exact match. You can instead use:
search()
search() api documentation example:
To search for an exact match, the function on key up should be: