how to set the first column order to desc?
how to set the first column order to desc?
![mohammadhisham](https://secure.gravatar.com/avatar/9f4a34df4137db46d7d70d55586cdd9e/?default=https%3A%2F%2Fvanillicon.com%2F9f4a34df4137db46d7d70d55586cdd9e_200.png&rating=g&size=120)
whenever i refresh indicator in the header is always asc. i tried to alter the code but not sure if that is the right part.
This discussion has been closed.
whenever i refresh indicator in the header is always asc. i tried to alter the code but not sure if that is the right part.
Answers
"aaSorting": [[0,'asc']] to "aaSorting": [[0,'desc']] this is what i alter
Hi @mohammadhisham ,
Use the
order
for the initial order, ororderFixed
if you want that order to always be applied.Cheers,
Colin