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

index 4fd2611..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 +   i, false);
+            this.insertRow(this.store, rowIndex +  1 + i, false);
         }
         
     },