I\'m trying use TableSorter with Widgets Scroller and Filters, they work perfect,
$(\"table\").tablesorter({
theme: \'blue\',
widgets: [\"zebra\", \"filt
There are two issues.
In order to work around this issue, try changing your append code to this (update demo):
$("#append").click(function () {
// add some html
var html = "<tr><td>Aaron</td><td>Johnson Sr</td><td>Atlanta</td><td>GA</td></tr>",
// scroller makes a clone of the table before the original
$table = $('table.update:last');
// append new html to table body
$table.find("tbody").append(html);
// remove scroller widget completely
$table.closest('.tablesorter-scroller').find('.tablesorter-scroller-header').remove();
$table
.unwrap()
.find('.tablesorter-filter-row').removeClass('hideme').end()
.find('thead').show().css('visibility', 'visible');
$table[0].config.isScrolling = false;
// let the plugin know that we made a update, then the plugin will
// automatically sort the table based on the header settings
$("table.update").trigger("update");
return false;
});
I'll try to patch up, bug fix and probably completely rewrite the scroller widget when I have time.