Refresh and Resort jQuery Tablesorter Table

17 Jun

If you need to load data in tablesorter table with AJAX (for example) you need to update and resort tablesorter table after load data with code below.

$(".tablesorter").trigger("update");
$(".tablesorter").trigger("sorton",[[0,0]]); // sort first column asc

No related posts.

No comments yet

Leave a Reply