Answers for "datatable sort html"

1

order datatable

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

datatable desc active

$('#exemple').DataTable({
    "order": [[ 3, "desc" ]], //or asc 
    "columnDefs" : [{"targets":3, "type":"date-eu"}],
});
Posted by: Guest on December-03-2020

Browse Popular Code Answers by Language