Get Current Sort Column/Order - why doesn't fnSettings.aaSorting[0][0] work anymore?
Get Current Sort Column/Order - why doesn't fnSettings.aaSorting[0][0] work anymore?

Why doesnt the following work anymore?
'sortedCol' : table.settings().aaSorting[0][0],
'sortedDir' : table.settings().aaSorting[0][1]
I'm getting 'aaSettngs' not recognized, and also 'settings' not recognized.
This discussion has been closed.
Answers
Also, the following doesn't work:
Cannot read property [0] of underfined
This is according to the
settings()
docs:The
order()
API looks like it will provide the information you need.Kevin