Browse Source

Fix search result error when toggle column display.

zhixin 11 years ago
parent
commit
f89624e75e
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/bootstrap-table.js

+ 2 - 0
src/bootstrap-table.js

@@ -1049,6 +1049,8 @@
         }
         this.options.columns[index].visible = checked;
         this.initHeader();
+        this.initSearch();
+        this.initPagination();
         this.initBody();
 
         if (this.options.showColumns) {