Im using jQuery DataTables plugin. With this response I know how to initialize the table without any particular order (ordering com from server).
Now, I need to clear the table ordering. Using the order method from API I can apply order to the first column, i.e:
api.order([0,0]);
But doing this :
api.order([]);
Get this error:
Uncaught TypeError: Cannot read property 'aDataSort' of undefined
How can restore the original "no order" state of the table?