It is a follow-up question to my earlier question here. I am using Datatables with server side processing.
$('#dataTables1').DataTable({
"bProcessing": true,
"bPaginate": false,
"serverSide": true,
"ajax":{
url :"get_user_data.php",
type: "get", // type of method , by default would be get
},
"columns": [
{ "data": 'sno' } ,
{ "data": 'dob' } ,
{ "data": 'fullname' } ,
{ "data": 'email' }],
});
However, i would like to sort the data( loaded through Server side processing) on the client side. However, currently with the above code, when I click on the header of the column, it is again sending the request to the server which I would like to avoid.