How set value for filter?
How set value for filter?
roscez
Posts: 5Questions: 4Answers: 0
I'm have my input and button
<input id="gridSearch" type="text" />
<button id="filter" class="btn btn-default">Go</button>
And my table
$.fn.dataTable.ext.legacy.ajax = true;
var grid = $("#gridCustomer").DataTable({
"language": {
"sProcessing": '<img src="/Scripts/loadingBgBlack.GIF" /> Loading...'
},
"bFilter": false,
"bLengthChange": false,
"processing": true,
"serverSide": true
How set filter value for my grid ?
$('#filter').click(function (e) {
var searchValue = $("#gridSearch").val();
});
This discussion has been closed.