Hi Nurbek,
Greetings from Syncfusion
support.
We have checked your query and
we have prepared a work around sample to achieve your requirement. In this
sample, we have prevented the add, edit and delete action using actionBegin
Event using the requestType of beforeAdd, beforeSave and beforeDelete. Based on
the condition, we can able to prevent the save actions by setting the value of args.cancel
to true. We have attached a sample and code snippets for your reference,
please check the below sample and code snippets for more details.
Code snippets:
|
[App.vue]
actionBegin(args) {
if(args.requestType == "beforeAdd" || args.requestType ==
"beforeSave"
|| args.requestType == "beforeDelete"){
args.cancel = true;
}
},
|
Sample: https://www.syncfusion.com/downloads/support/forum/177765/ze/VueGantt_Dialog708508928.zip
Regards,
Gopinath M