Browse Source

Merge pull request #4441 from wenzhixin/fix/2820

init the toolbar to refresh the buttons e.g. showColumns
文翼 6 years ago
parent
commit
e228873f5a
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/extensions/reorder-columns/bootstrap-table-reorder-columns.js

+ 2 - 1
src/extensions/reorder-columns/bootstrap-table-reorder-columns.js

@@ -166,9 +166,10 @@ BootstrapTable.prototype.makeRowsReorderable = function () {
       that.header.fields = ths
       that.header.formatters = formatters
       that.initHeader()
+      that.initToolbar()
       that.initBody()
       that.resetView()
       that.trigger('reorder-column', ths)
     }
   })
-}
+}