I have successfully created function that removes events using the onEventDelete call. The record is properly removed from the database, but the schedule does nto get updated and show the item being removed. I tried using the same type of call that resize and mive use in dp.events.update(e), but it has no effect.
I also reviewed https://doc.daypilot.org/scheduler/event-deleting/ and tried to add the following above my dp.onEventDeleted function, but it generates an error which causes the schedule not to display at all.
dp.eventDeleteHandling = "Update";
dp.onEventDelete = function(args) {
if (!confirm("Do you really want to delete this event?") {
args.preventDefault();
}
};
Can you point me in the right direction?