Browse Source

Fix #202: updateRow method keep the scroll position.

zhixin 11 years ago
parent
commit
47f541f975
1 changed files with 1 additions and 1 deletions
  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) {