1. I bind to the Grid from the DB via DataTable
2. On client in AfterCellUpdate event my cell date object has the _oldValue property defined
which I reference to be able to undo.
3. After doing an Async update on that field and rebind the property _oldValue no longer exists.
Is there any way to make that _oldValue persist ?
Since it exists when I bind the Grid the first time I am not sure why the async rebind clears it.
Hello,
You can get the old value on the server side in "UpdateCell" event. You can store this value is session and call client side script in this event and pass this value as a parameter. You can also validate the value on server side and cancel the changes made in order to keep the old value.
Please let me know if I can provide any further assistance regarding this matter.
Sincerely,
Prabha.