Is it possible to use exact match for filtering
Is it possible to use exact match for filtering
AndrejSoroj
Posts: 2Questions: 0Answers: 0
I need to use exact match while filtering i.e. if I have next table
ABC Corp | 123
BBB Inc | 234
CCC ABC Corp | 345
and put to search input 'ABC Corp', I want to see only first row.
Is it possible to configure datatables to do such filtering WITHOUT hacking datatables sources.
ABC Corp | 123
BBB Inc | 234
CCC ABC Corp | 345
and put to search input 'ABC Corp', I want to see only first row.
Is it possible to configure datatables to do such filtering WITHOUT hacking datatables sources.
This discussion has been closed.
Replies
Another proposed way I found is to modify next code in sources
[code]
$.extend( oSettings.aoPreSearchCols[ iColumn ], {
"sSearch": sInput+"",
"bRegex": bRegex,
"bSmart": bSmart,
"bCaseInsensitive": bCaseInsensitive
} );
[/code]
But it's hacking.
So, still can't find the way to use exact matching without source hacking or using external textbox.
Allan