Exact Search in Datatable

137 Views Asked by At

I want to see my exact keyword search in data table. I have a gender column wheres values are male,female and others when I am searching male then show male and female both but I want to see male only.

Here is my code

$(document).ready(function() {
    oTable = $('#datatable').dataTable();
    oTable.fnFilter( "^" + TERM + "$", COLUMN , true);
});
0

There are 0 best solutions below