How to get the currently sorted column?

How to get the currently sorted column?

djachimdjachim Posts: 2Questions: 0Answers: 0
edited September 2011 in General
I have a table that shows 10 rows per page with some sortable columns. I need to trigger an event whenever the page is changed or the sortation changes. How do I get the currently sorted column? Column header or index would be enough.

Replies

  • djachimdjachim Posts: 2Questions: 0Answers: 0
    I found what I need for the server-side dataTables: int iSortCol_(int)

    How do I get this information on the client-side dataTables?
  • fbasfbas Posts: 1,094Questions: 4Answers: 0
    I think oSettings.aaSorting array is what you want
This discussion has been closed.