Detect if column is sorted

Detect if column is sorted

robbiesmith79robbiesmith79 Posts: 16Questions: 0Answers: 0
edited August 2013 in General
This is my code
[code]
scoreresults.fnSortListener(document.getElementById('score_order'), 2 ,function() {
var oTable = $('#scoreresults').dataTable();
oTable.fnSort( [ [ 3, "desc" ],[ 8, "asc" ] ]);
oTable.fnReloadAjax("/data/scoreresults?sort=orders_id");
});
[/code]
What I want to do is to take the node and determine if the sort of that column is already in a sorted state. I can't find anything in the documentation yet that would tell me otherwise.

Can anyone help?
This discussion has been closed.