Hello everyone,
First of all, thank for datatable, it's awesome !
I would like to use search by first letter and searching by first letter.
What I already did is that :
$( 'input', this.footer() ).on( 'keyup change clear', function () {
if ( that.search() !== this.value ) {
that
.search('\b'+this.value, true, false )
.draw();
}
} );
which allow me to search by first letter.
The problem is, if I want to use the logical OR (while adding |) the second item isn't searched by first letter.
I tried to split("|") and reconstruct my string in a loop and then search(string) but it doesn't work.
Do I do something wrong ?