Smart search for single integer
Smart search for single integer
manuelagustinlucero
Posts: 1Questions: 0Answers: 0
I have a column and when I search for 1, it brings me all of the columns that contain 1
This discussion has been closed.
Replies
That's the "smart" search in DataTables. If you want an exact match, you either need to use a regex or a custom search plug-in.
Allan
Hi @manuelagustinlucero ,
Yep, that's the standard behaviour if you use the standard search box that's generated when the table is initialised.
You can however you can use the API and create your own input elements, either outside the table (like the example here) or outside.
Hope that helps,
Cheers,
Colin