DayPilot.Calendar.onEventResize

Declaration

onEventResize(args)

Parameters

  • args.e
  • args.newStart
  • args.newEnd
  • args.preventDefault()

Example

dp.onEventResize = function (args) {
  if (args.e.id() === "3") {
    args.preventDefault();
    dp.message("Event 3 cannot be resized.");
  }
};

api=1

In api=1 mode this event is only called if eventResizeHandling is set to "JavaScript".

Declaration

onEventResize(e, newStart, newEnd)

Parameters

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