orderable false in datatable
$('#example').DataTable( {
columnDefs: [
{ orderable: false, targets: 0 }
]
} );
reference:
https://datatables.net/reference/option/columns.orderable
0
5
$(document).ready(function() {
$('#example').DataTable( {
"order": [[ 3, "desc" ]]
} );
} );
Thank you!
5
0
Are there any code examples left?
New code examples in category Other