Trigger sort

Trigger sort

Frederik VigFrederik Vig Posts: 1Questions: 0Answers: 0
edited March 2010 in General
Hi
Is it possible to trigger the sort functionality of DataTables externally? Say I have a select box that lets the user choose which column to sort by. What I'd like is on the select event, trigger DataTables to get the new data (I'm using Ajax data source and Get).

Thanks for your help!

Frederik

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    fnSort will sort the table: http://datatables.net/api#fnSort

    Allan
This discussion has been closed.