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

index b2abce2..8527e0e 100644 (file)
@@ -571,6 +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.store.getAt(rowIndex+i);
             this.insertRow(this.store, rowIndex + i, false);
             return;
         }