Code:
isc.ListGrid.create({ ID: "countryList", width:500, height:224, alternateRecordStyles:true, dataSource: worldDS, // display a subset of fields from the datasource fields:[ {name:"countryCode"}, {name:"countryName"}, {name:"capital"}, {name:"continent"} ], // added code canRemoveRecords: true, modalEditing: true, autoSaveEdits: false, }) isc.IButton.create({ ID: "fetchUS", width:140, title:"Fetch Code: US", click:"countryList.fetchData({countryCode:'US'})" }) isc.IButton.create({ ID: "fetchEurope", autoFit:true, minWidth:140, title:"Fetch Continent: Europe", click:"countryList.fetchData({continent:'Europe'})" }) isc.IButton.create({ ID: "fetchAll", width:140, title:"Fetch All", click:"countryList.fetchData()" }) isc.HStack.create({ top: 240, width: "100%", membersMargin: 20, members: [fetchUS, fetchEurope, fetchAll] });
I try to mark record remove and unmark again and getAllEditRows is getting unmarked records. Is it suppose to function like that?
My goal is to get all edited records without those unmarked records, any suggestion?
I am using Version v12.1p_2020-12-19/LGPL
Regards,
ryanang
Comment