浏览代码

Fix #202: updateRow method keep the scroll position.

zhixin 11 年之前
父节点
当前提交
47f541f975
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/bootstrap-table.js

+ 1 - 1
src/bootstrap-table.js

@@ -1314,7 +1314,7 @@
             return;
         }
         $.extend(this.data[params.index], params.row);
-        this.initBody();
+        this.initBody(true);
     };
 
     BootstrapTable.prototype.mergeCells = function (options) {