Answers for "datatable sorting false"

-1

orderable false in datatable

$('#example').DataTable( {
  columnDefs: [
    { orderable: false, targets: 0 }
  ]
} );

reference: 
https://datatables.net/reference/option/columns.orderable
Posted by: Guest on January-29-2021
1

jquery datatables turn off sorting

$('#table').dataTable({ "bSort" : false } );
Posted by: Guest on June-15-2021
0

how unsort the data table options

$('#example').dataTable( {
  "ordering": false
} );
Posted by: Guest on February-08-2021
-1

datatable default sorting

$(document).ready(function() {
    $('#example').DataTable( {
        "order": [[ 3, "desc" ]]
    } );
} );
Posted by: Guest on October-09-2021

Browse Popular Code Answers by Language