Sorting Issue

Sorting Issue

cjsmithcjsmith Posts: 6Questions: 0Answers: 0
edited February 2012 in General
I need to pull the current sorting order (using multi column sort), and ascending/descending value info for the current table, and send this to a webservice, but I'm not finding a way to return this from the table, is there a way to return this info?

Replies

  • allanallan Posts: 63,542Questions: 1Answers: 10,476 Site admin
    You can get the sort that is applied to the table using fnSettings().aaSorting ( http://datatables.net/docs/DataTables/1.9.0/DataTable.models.oSettings.html#aaSorting ).

    Allan
  • cjsmithcjsmith Posts: 6Questions: 0Answers: 0
    Brilliant, thank you
This discussion has been closed.