How to add new custom filter in data table using PHP mysql jQuery ajax

Published: 28 February 2018
on channel: Dinanath Singh
1,095
5

$(document).ready(function() {
var oTableClient = $('#client').dataTable({
searchHighlight: true,
"lengthMenu": [[-1, 25, 50], ["All", 25, 50]]
});
$('#client_cat_list').on('change', function () {
var client_cat_val=$('#client_cat_list').val();
//alert(client_cat_val);
if(client_cat_val=='*'){
oTableClient.fnFilter("");
}else{
oTableClient.fnFilter($.trim(client_cat_val));
oTableClient.fnDraw();
}
});
} );

facebook :   / dinanathsingh  
youtube :    / dinanath129  
Google plus : https://plus.google.com/u/0/111551527...
twitter :   / dinanath33  
linkedin :   / dinanath-singh-62145237  


Watch video How to add new custom filter in data table using PHP mysql jQuery ajax online without registration, duration hours minute second in high quality. This video was added by user Dinanath Singh 28 February 2018, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,095 once and liked it 5 people.