Default order not working...
Default order not working...
liranf
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 ?
This discussion has been closed.
Answers
Not sure. Can you link to a test case showing the issue please.
Allan
I managed to solve it. 10X :-)