On Column Click, Order Descending by Default
On Column Click, Order Descending by Default

When sorting a column, the first click is always ascending order. two clicks are required to make the column show in descending order. Is there a way to make this a one click action so that the first click is descending? Ideally this could be done by columnDefs or applied to all columns.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Hi @Muddy Waters ,
You can use
columns.orderSequence
for that - see example here.Cheers,
Colin
Perfect, thanks!