Search doesnt work after server side true?

Search doesnt work after server side true?

consqqconsqq Posts: 1Questions: 1Answers: 0
edited December 2016 in Free community support

I know that default search and filtering doesnt work after server side true.But i already changed up default search with that function:
$('.dataTables_filter input').unbind().keyup(function () { var value = $(this).val(); oTable.columns(1).search(value).draw(); });
But it still doesnt work.
My datatable code:
var oTable = $('#userstable').DataTable(
{
"processing": true,
"serverSide": true,
"ajax":
{
"url": "/Admin/LoadData",
"type": "POST",
"datatpye": "json"
},
"createdRow": function (row, data, index) {
$(row).attr("data-user-id", data.Id);
},
"columns": [
{ "data": "Id", "name": "Id", "autoWidth": true, "searchable": true },
{ "data": "UserName", "name": "User Name", "autoWidth": true, "className": "username", "searchable": true },
{ "data": "Password", "name": "Password", "autoWidth": true, "className": "password", "searchable": true },
{ "data": "Email", "name": "Email", "autoWidth": true, "className": "email", "searchable": true },
{ "data": "RoleName", "name": "Role", "autoWidth": true, "className": "role", "searchable": true },
{
"data": "RoleId", "name": "Action", "className": "action", "autoWidth": true, "render":
function (data, type, full, meta) {
return "Edit

";
}
}],
"stateSave": true,

    });
This discussion has been closed.