Hi Alberto,
In your sample, we could see that you are trying to set
values for the currently edited row using both “setCellValue” and “updateRow”
methods inside the actionComplete event when the row saving action is on. So, if
you want to set new values to the currently edited row, we suggest changing the “args.data”
variable inside the “actionBegin” event which will overcome the reported
issue.
|
const actionBegin = (args) => {
if (args.action === 'edit' && args.requestType === 'save' && args.rowData !== undefined) {
. . .
args.data['PrezzoTotale'] = prezzoTotaleAggiungere;
}
};
|
Sample: https://stackblitz.com/edit/inculo-unjnql?file=data.js,index.js,sample-base.js
Regards,
Pavithra S