Quantcast
Channel: DataTables 1.10 — DataTables forums
Viewing all articles
Browse latest Browse all 2364

Changing Sort Order doesn't change visual indicator

$
0
0

I wanted to have the table render items by descending order in a particular column, but doing so doesn't change the arrow visual indicator in the header as it does with the click event. If this is a bug, any workarounds?

$(document).ready( function () {
  var table = $('#example').DataTable({
    order: [0, 'dsc']});
} );

Example: http://live.datatables.net/wahazuri/1/


Viewing all articles
Browse latest Browse all 2364

Trending Articles