Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

sorting disable in datatable bootstrap

$('#id-of-my-table').DataTable({
    "columnDefs": [
        { "orderable": false, "targets": [0, 4, 5, 6] },
        { "orderable": true, "targets": [1, 2, 3] }
    ]
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sorting #disable #datatable #bootstrap
ADD COMMENT
Topic
Name
5+3 =