Hi sayali ,
Thanks for contacting Syncfusion support.
You can differentiate the save operation by using the “action” property of the actionBegin event arguments. Please refer to the below code example, documentation link and sample link for more information.
[App.Vue]
<template>
<div id="app">
<ejs-grid ref="grid" id="grid" :dataSource="data" :editSettings="editSettings" :toolbar="toolbar"
:actionBegin="actionBegin" >
<e-columns>
. . .
</e-columns>
</ejs-grid>
</div>
</template>
<script>
export default {
name: "App",
. . .
methods: {
actionBegin: function(e) {
actionBegin: function(e) {
if (e.requestType === "save") {
console.log(e.action); // returns “add” for add action and “edit” for edit action
}
}
}
};
</script> |
Please get back to us if you need any further assistance on this.
Regards,
Pavithra S.