浏览代码

Merge pull request #627 from thiagof/patch-1

insertRow needs paging refresh
文翼 10 年之前
父节点
当前提交
09a5f98061
共有 1 个文件被更改,包括 2 次插入0 次删除
  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);
     };