Change display order
Change display order
I would like to change the display order of the results table.
My table looks like this:
And I'm using this javascript code:
$(document).ready(function() {
$('.table table-bordered data-table').dataTable( {
"aaSorting": [[ 4, "desc" ]]
} );
} );
But it's not working, what should I do?
My table looks like this:
And I'm using this javascript code:
$(document).ready(function() {
$('.table table-bordered data-table').dataTable( {
"aaSorting": [[ 4, "desc" ]]
} );
} );
But it's not working, what should I do?
This discussion has been closed.
Replies
Allan
http://jsfiddle.net/PTnpT/
Or is it better to send the whole code jquery.dataTables.min ?
The table is in ascending order I would like to stay in descending order.
Thank you.