Default Sort when clicked

Default Sort when clicked

mrd9483mrd9483 Posts: 2Questions: 0Answers: 0
edited September 2013 in General
I know I can set a default sort direction for a column... What I would like however is the table sorts by default on a particular column on load but on FIRST click, it goes in descending order. I just can't find it in the reference. Any idea?

Replies

  • allanallan Posts: 63,505Questions: 1Answers: 10,471 Site admin
    Not sure I quest understand - you can use asSorting to set the order the sorting direction is applied in and aaSorting for the initial sort. Is that what you are doing at the moment?

    Allan
  • mrd9483mrd9483 Posts: 2Questions: 0Answers: 0
    I misunderstood asSorting... now I see how it works. Thanks for pointing that out.
This discussion has been closed.