Activate Regex, Deactive Smart Filtering
Activate Regex, Deactive Smart Filtering
daniph
Posts: 3Questions: 1Answers: 0
Hi all
Im trying activate regex filtering and deactive smart filtering. This is my code, but no work
$('#issuelist').DataTable( {
"search": {
"regex": true,
"smart": false
},
"ordering": true,
"order": [[ 0, "asc" ]],
"dom": '<"top pull-right"i>rt<"clear">',
"columnDefs": [
{ "orderable": false, "targets": 1 },
{ "orderable": false, "targets": 6 },
{ "orderable": false, "targets": 7 }
]
} );
Anybody can i help me?
Thanks
This discussion has been closed.
Answers
Any idea?
Thanks
Hi all
Please anybody can i help me?
Thanks
In what way does it not work? You don't have the default search input box, so I guess you are using the API? If so, use the second and third parameter of the
search()
to enable regex and disable smart search.Beyond that, we'd need a link to a test case, as required in the forum rules.
Allan