How to use server sorting with jquery datatable

If you are using jquery datatables found at … and you want to display the data as it was returned from the server explicitly set datatable options “order” to: [].

https://datatables.net/reference/option/order

 

$(‘#example’).dataTable( {

    “order”: []

} );

 

 

 

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *