Hi Fernando,
We have checked your requirement and
the dataSourceChanged event handler
will be triggered when editing, inserting and deleting a row is made on the datasource range. It is triggered
with parameter named action which
indicates edit, add and delete for the
respective action. By using this event you can get the modified row data.
dataSourceChanged (args) {
//args.data returns the modified data in spreadsheet
switch (args.action) {
case 'edit':
console.log('Edited Data: ' + JSON.stringify(args.data));
//Do your customization for edit action
break;
case 'add':
console.log('Added Data: ' + JSON.stringify(args.data));
// Do your customization for insert action
break;
case 'delete':
console.log('Deleted Data: ' + JSON.stringify(args.data));
// Do your customization edit action
break;
}
}
|
API Link: https://ej2.syncfusion.com/javascript/documentation/api/spreadsheet#datasourcechanged
Could you please check the above links
and get back to us, if you need any further assistance on this.
Regards,
Sangeetha M