Default order not working...

Default order not working...

liranfliranf Posts: 9Questions: 6Answers: 0

I am using a solution to manually locate the sort icons like this:
table.columns().iterator('column', function (ctx, idx) {
$(table.column(idx).header()).append('<span class="sort-icon"/>');
});
When I'm trying to use the default order it doesn't work.
$('#example').dataTable( {
"order": [[ 3, "desc" ]]
} );
Does anyone know why ?

Answers

  • allanallan Posts: 63,542Questions: 1Answers: 10,476 Site admin

    Not sure. Can you link to a test case showing the issue please.

    Allan

  • liranfliranf Posts: 9Questions: 6Answers: 0

    I managed to solve it. 10X :-)

This discussion has been closed.