Browse Source

Merge pull request #627 from thiagof/patch-1

insertRow needs paging refresh
文翼 10 years ago
parent
commit
09a5f98061
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/bootstrap-table.js

+ 2 - 0
src/bootstrap-table.js

@@ -2020,6 +2020,8 @@
             return;
         }
         this.data.splice(params.index, 0, params.row);
+        this.initSearch();
+        this.initPagination();
         this.initBody(true);
     };