I have a situation where I need to trigger this event manually:
https://ej2.syncfusion.com/vue/documentation/api/gantt/#actioncomplete
For example, like this:
actionComplete: function (args) {
switch (args.requestType) {
...
case 'refresh': {
// I want to trigger this code manually
// ...
// do something ...
break
}
}
Perhaps I need to do something like this?
const gridObj = document.getElementById(self.objectID).ej2_instances[0]
gridObj.actionComplete({requestType: 'refresh'})
Please give me the right code to do it. Or if it doesn't exist yet, what should I do?