Hi isomorphic,
SC Version : Smart Client version 9.0
Browser Version: FireFox 10.0.11 ( All supported and Latest Browser ).
I'm using a ListGrid in a window, in which i'm editing multiple records, if i delete any record in the middle of the grid, other below records were reindexed properly but lost any changes that were made.
If the record is not removed then all other changes remains in the List Grid.
Record removal code :
How to remove the listgrid record without losing any unsaved changes?
Thanks,
Ramanathan
SC Version : Smart Client version 9.0
Browser Version: FireFox 10.0.11 ( All supported and Latest Browser ).
I'm using a ListGrid in a window, in which i'm editing multiple records, if i delete any record in the middle of the grid, other below records were reindexed properly but lost any changes that were made.
Code:
ListGrid.create (isc.addProperties({
ID : "NodeList",
canEdit : true,
autoFetchData : false,
canDrop : false,
canAcceptDrop : false,
headerHeight : "27",
autoSaveEdits : false,
autoDraw : false,
dataSource : "provnode",
editPendingCSSText:"color:#FF31DB;font-weight:bold",
width : "100%",
height : "100%",
canReorderRecords: true,
alternateRecordStyles: true,
editEvent : "doubleClick",Record removal code :
Code:
NodeList.data.removeAt(2); ( or ) NodeList.data.remove(objectToRemove);Thanks,
Ramanathan