ソースを参照

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;
             return;
         }
         }
         $.extend(this.data[params.index], params.row);
         $.extend(this.data[params.index], params.row);
-        this.initBody();
+        this.initBody(true);
     };
     };
 
 
     BootstrapTable.prototype.mergeCells = function (options) {
     BootstrapTable.prototype.mergeCells = function (options) {