DayPilot.Calendar.onEventClick

Declaration

onEventClick(args)

Parameters

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

Example

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

api=1

Declaration

onEventClick(e)

Parameters

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