DayPilot.Calendar.eventMoveHandling

The eventMoveHandling property (string) specifies how the JavaScript Calendar component will handle drag-and-drop event moving.

Possible values

  • "Disabled" - event moving is not allowed

  • "Update" - the event position is updated automatically on drop (between onEventMove and onEventMoved events)

Additional options that apply to DayPilot versions with an integrated server-side part (ASP.NET WebForms, ASP.NET MVC, Java):

  • "PostBack" - fires EventMove using PostBack (ASP.NET WebForms)

  • "CallBack" - fires EventMove using CallBack (ASP.NET WebForms, ASP.NET MVC, Java)

  • "JavaScript"api=1, fires onEventMove()

  • "Notify" - updates the event position on the client side, fires EventMove event (ASP.NET WebForms, ASP.NET MVC, Java)

Default Value

"Update"

Example

Calendar config:

{
  eventMoveHandling: "Disabled",
  // ...
}