tablesorter icon indicating copy to clipboard operation
tablesorter copied to clipboard

Dynamically added table rows won't sort

Open ayyobro opened this issue 8 years ago • 2 comments

Added a table to my page

Used the plugin to sort on every column: Name, Rent, Sq. Ft.

However, if I use ajax to add more rows to the table, then the tablesorter does not work.

If you need more info or a site link, please PM me.

ayyobro avatar Nov 04 '16 21:11 ayyobro

you've to trigger the update-function like explained here: http://tablesorter.com/docs/example-ajax.html

DavidBruchmann avatar Nov 27 '16 10:11 DavidBruchmann

it seems that the sorton trigger is sorting the previously cached data.

lepirlouit avatar Jan 05 '17 07:01 lepirlouit