Data table not refreshing.
Data table not refreshing.
Hi All
I am using Server-side pagination in datatable. First time data loaded from server.
But after page change, Sorting, record display change datatable not refreshed.
This is happening only with ie 8& 9.
My Code is as follows.
$("#bodycontent").DataTable({
"columnDefs": [
{ "visible": false, "targets": 0}],
"aoColumns": mdata,
"bServerSide": true,
"bAutoWidth": false,
"bProcessing": true,
"drawCallback": function (oSettings, json) {
updatePageInfoUsingOsettings(oSettings);
},
"ajax": {"url": URL,
"data" :datatobeSent(),
"beforeSend" : function(request, setting){
validator(request, setting);
},
error: function(jqXHR, exception) {
alert(jqXHR.status);
}
}
} );
Thanks in advance for help.