Hello,
I am seeing an issue where the callback to ListGrid.saveAllEdits is not firing when multiple new rows are added to an empty grid before calling saveAllEdits. If you enter just 1 new row, the callback fires. But, multiple new rows and the callback does not fire.
I've recreated this in your Feature Explorer here:
http://www.smartclient.com/#enterNewRows
Simply paste in the following modifications to the default code.Then, when you enter one new record and click the "Save All Edits" button, the callback fires but if you enter mutiple new records and then click the "Save All Edits" button, the callback does not fire.
I am seeing an issue where the callback to ListGrid.saveAllEdits is not firing when multiple new rows are added to an empty grid before calling saveAllEdits. If you enter just 1 new row, the callback fires. But, multiple new rows and the callback does not fire.
I've recreated this in your Feature Explorer here:
http://www.smartclient.com/#enterNewRows
Simply paste in the following modifications to the default code.Then, when you enter one new record and click the "Save All Edits" button, the callback fires but if you enter mutiple new records and then click the "Save All Edits" button, the callback does not fire.
Code:
isc.ListGrid.create({ ID: "countryList", width:500, height:224, alternateRecordStyles:true, showAllRecords:true, cellHeight:22, // use server-side dataSource so edits are retained across page transitions dataSource: countryDS, // display a subset of fields from the datasource fields:[ {name:"countryName"}, {name:"continent"}, {name:"member_g8"}, {name:"population", formatCellValue:"isc.Format.toUSString(parseInt(value))"}, {name:"independence"} ], canEdit: true, editEvent: "click", autoSaveEdits:false, listEndEditAction: "next" }) isc.IButton.create({ top:250, title:"Edit New", click:"countryList.startEditingNew()" }); isc.IButton.create({ top:280, title:"Save All Edits", click:"countryList.saveAllEdits(null,'alert(\"callback fired\");')" });
Comment