SmartClient Version: v13.1p_2024-12-05/AllModules Development Only (built 2024-12-05)
Hello, please try this sample https://www-demos.smartclient.com/sm.../?id=editByRow modified like this:
Edit a record and change the continent value; you'll see the countryName field update (but don't finish editing yet).
Next, change the continent to another value (again, without finishing the edit).
This time, the countryName field will not update.
Finally, change the continent a third time.
From this point on, you'll notice that the countryName field updates, but not to the latest value - it updates to the value before the most recent change.
Hello, please try this sample https://www-demos.smartclient.com/sm.../?id=editByRow modified like this:
Code:
isc.ListGrid.create({ ID: "countryList", width: 550, height: 224, // use server-side dataSource so edits are retained across page transitions dataSource: countryDS, // display a subset of fields from the datasource fields: [ { name: "countryCode", title: "Flag", width: 40, type: "image", imageURLPrefix: "flags/24/", imageURLSuffix: ".png", canEdit: false }, {name: "countryName", canEdit: false}, { name: "continent", changed: function (form, item, value) { isc.logEcho(value) item.grid.setEditValue(item.rowNum, "countryName", value); } }, {name: "member_g8"}, {name: "population"}, {name: "independence"} ], autoFetchData: true, canEdit: true, editEvent: "click" })
Next, change the continent to another value (again, without finishing the edit).
This time, the countryName field will not update.
Finally, change the continent a third time.
From this point on, you'll notice that the countryName field updates, but not to the latest value - it updates to the value before the most recent change.