Roo/bootstrap/Table.js
authorAlan Knowles <alan@roojs.com>
Tue, 9 Jun 2015 05:15:50 +0000 (13:15 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 9 Jun 2015 05:15:50 +0000 (13:15 +0800)
Roo/bootstrap/Table.js

index 9d04e81..6e5ae25 100644 (file)
@@ -571,7 +571,7 @@ Roo.extend(Roo.bootstrap.Table, Roo.bootstrap.Component,  {
         for (var i =0 ; i < records.length;i++) {
             Roo.log('call insert row Add called on ' + rowIndex + ':' + i);
             Roo.log(records[i]);
-            this.insertRow(this.store, rowIndex +  2 + i, false);
+            this.insertRow(this.store, rowIndex +  1 + i, false);
         }
         
     },