DayPilot.Scheduler.onEventDelete

Declaration

onEventDelete(args)

Parameters

  • args.e (DayPilot.Event) - the event reference
  • args.preventDefault() - cancels the default action

Example

dp.onEventDelete = function(args) {
  if (!confirm("Do you really want to delete this event?")) {
    args.preventDefault();
  }
};

api=1

Declaration

onEventDelete(e)

Parameters