Search code examples
jquerysortingtablesorter

JQuery tablesorter plugin - update sorting after modified rows


I use the tablesorter 2.0, and I update the cells' value with ajax. After the call I would need to order again the rows, but the $('#thisTable').trigger('update') don't help me.

I dealing with markup inside cells, but it can't be problem.

 $('#thisTable').tablesorter({
   textExtraction: function(node) {
     return node.getElementsByTagName('input')[0].value; 
   }
 });

Any help would be appreciated.

-- Kree


Solution

  • You can find the answer in table sorter docs. You have to trigger another event sorton.