We have the following scenario in an editable ListGrid -
1 - edit a field
2 - navigate to another row and the DataSource update complete successfully
3 - close edit mode (escape)
4 - navigate back to previous edited row and double click to edit field again
5 - close edit mode (escape)
6 - ERROR OCCURS - the previous unedited value from step 1 now shows in the edit field
The correct changed value is still persisted by the DataSource but the pre-change value is now showing in the row.
This is the definition of the grid -
isc.ListGrid.create({
ID:"accountsGrid",
width:600,height:225,
alternateRecordStyles:true,
dataSource: accountDS,
canEdit: true,
autoFetchData: false,
fields:accountFields,
sortField: "AccountName",
sortDirection: "ascending",
modalEditing:true
}
1 - edit a field
2 - navigate to another row and the DataSource update complete successfully
3 - close edit mode (escape)
4 - navigate back to previous edited row and double click to edit field again
5 - close edit mode (escape)
6 - ERROR OCCURS - the previous unedited value from step 1 now shows in the edit field
The correct changed value is still persisted by the DataSource but the pre-change value is now showing in the row.
This is the definition of the grid -
isc.ListGrid.create({
ID:"accountsGrid",
width:600,height:225,
alternateRecordStyles:true,
dataSource: accountDS,
canEdit: true,
autoFetchData: false,
fields:accountFields,
sortField: "AccountName",
sortDirection: "ascending",
modalEditing:true
}
Comment