How can i sort dataTable from Ascending to Descending?

How can i sort dataTable from Ascending to Descending?

nicaymenicayme Posts: 1Questions: 1Answers: 0

I have been stuck here for a days i already change the jquery.datatables.min.js but its not working i already used the

$('table').dataTable({
// display everything

"aaSorting": [[ 0, "desc" ]] // Sort by first column descending

});
</script>

But when i refresh it will appear sorted by desc after point of a second it will back in asc order how can i change it to desc default order? Can you please help me. THanks

Answers

This discussion has been closed.