Need to get the currently sorted column index
Need to get the currently sorted column index
purnima
Posts: 1Questions: 1Answers: 0
I tried few things while from searching from google..
$('#mytable').dataTable().fnSettings().aaSorting[0][0];
tried this but error like fnSettings is null...
Can any one give any suggestions how to do it...
This discussion has been closed.
Answers
Just call order() on your DataTable variable.