DayPilot.Calendar.onEventDelete

Declaration

onEventDelete(args)

This event fires when the user clicks the event delete icon in the upper left corner. This icon is only available in the legacy CssOnly=false mode.

Parameters

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

Example

dp.onEventDelete = function(args) {
  if (args.e.id() === "3") {
    args.preventDefault();
  }
};

api=1

Declaration

onEventDelete(e)

Parameters

DayPilot for JavaScript, ASP.NET WebForms, ASP.NET MVC, Java