set case sensitive only a search field
set case sensitive only a search field
cala
Posts: 52Questions: 15Answers: 0
hello!
Is it possible to set only a search field (for example only one of the column filters ) as key sensitive?
I've tried:
$( "input#sotto_cod" ).on( 'keyup change', function () {
var data_input=this.value;
table.columns([5]).search( data_input,false,true,false ).draw();
});
as found in the search()
page:
search( input [, regex[ , smart[ , caseInsen ]]] )
but it doesn't seem to work.
Maybe I can use a personalized filter function as in http://datatables.net/development/filtering , but how can I fire this filter only from that input box?
Thank you for the help!
This discussion has been closed.