Answers for "datatable sortable"

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
1

sort datatable c#

Datatable.DefaultView.Sort = "Preferance ASC";
Posted by: Guest on February-19-2020

Browse Popular Code Answers by Language