External sort button
External sort button
Phrozen
Posts: 2Questions: 1Answers: 1
Hi everybody. I'm using 1.10 DT.
I need to add external sort buttons to my table.
I've tried to use old fnSort I found in legacy section, but it doesnt work since 1.10. Are there any similar function or any other way to make an external button to sort a column?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Solved:
oTable.order([0, 'asc']).draw();
:))
Perfect -
order()
is the reference documentation if anyone else finds this.Allan