search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

eventDeleteHandling does not remove event

Asked by Jeff Kurzner
4 years ago.

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, but it has no effect.

I also reviewed 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?") {

Can you point me in the right direction?

Answer posted by Jeff Kurzner
4 years ago.

Looks like I continue to find my own solutions. :) That's a good thing.

Here's the missing code that I found to assist me.

var e =;;

Comment posted by Jeff Kurzner
4 years ago.


Comment posted by Dan Letecky [DayPilot]
4 years ago.

Thanks for posting the solution!

Anyway, if you use eventDeleteHandling = "Update" the Scheduler will remove the event and update the UI automatically (between onEventDelete and onEventDeleted, unless you call args.preventDefault() in onEventDelete).

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.