How can I cancel the event moving after the a server call (REST API call)? Calling args.preventDefault();
doesn’t work. After calling args.preventDefault();
I can’t move any event anymore
eventMoveHandling is set to 'Update'.
onEventMove: (args) => {
args.async = true;
this.moveItem(args)
.subscribe(result => {
if (result) {
args.loaded();
}
else {
args.preventDefault();
}
});
}