mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
ColumnSelector: change in "auto" now triggers a "columnUpdate" event
This commit is contained in:
parent
703590cc38
commit
a63d67f41e
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user