Is it possible to get the current sort order?

Is it possible to get the current sort order?

rrenaudrrenaud Posts: 1Questions: 0Answers: 0
edited February 2012 in General
I'd like for users to be able to send links to other users about what they see in the table, and this includes being able to encode the sort order of the table. Is it possible to get this data from datatables itself?

Replies

  • allanallan Posts: 63,542Questions: 1Answers: 10,476 Site admin
    Certainly - tableInstance.fnSettings().aaSorting ( http://datatables.net/docs/DataTables/1.9.0/DataTable.models.oSettings.html#aaSorting )

    Allan
This discussion has been closed.