Quantcast
Channel: Free community support — DataTables forums
Viewing all articles
Browse latest Browse all 35285

I'm having a problem changing the default sort order on a table.

$
0
0

I've used the example from the documentation -
$(document).ready(function() {
$('#example').dataTable( {
"order": [[ 3, "desc" ]]
} );
} );

But it still the first column which is being sorted. any idea where I am going wrong?


Viewing all articles
Browse latest Browse all 35285

Trending Articles