ColumnSelector: change in "auto" now triggers a "columnUpdate" event

This commit is contained in:
Mottie 2015-01-26 17:01:58 -06:00
parent 703590cc38
commit a63d67f41e

View File

@ -196,6 +196,10 @@ tsColSel = ts.columnSelector = {
if (wo.columnSelector_saveColumns && ts.storage) {
ts.storage( c.$table[0], 'tablesorter-columnSelector-auto', { auto : colSel.auto } );
}
// trigger columnUpdate if auto is true (it gets skipped in updateCols()
if (colSel.auto) {
c.$table.trigger('columnUpdate');
}
},
updateBreakpoints: function(c, wo) {