DayPilot.Scheduler.linkCreateHandling

The linkCreateHandling property (string) specifies how drag and drop link creation will be handled in the JavaScript Scheduler. Link creation UI is disabled by default.

Declaration

DayPilot.Scheduler.linkCreateHandling

Possible Values

  • "Disabled" - link creation is disabled.

  • "Update" - the link is created automatically.

  • "CallBack" - the server-side LinkCreate event handler is fired using CallBack. ASP.NET WebForms, ASP.NET MVC, and Java only.

  • "PostBack" - the server-side LinkCreate event handler is fired using PostBack. ASP.NET WebForms only.

  • "Notify" - the link is created automatically and the server-side LinkCreate event handler is fired using CallBack. ASP.NET WebForms, ASP.NET MVC, and Java only.

Default Value

"Disabled"

Notes

Set this property to a mode other than "Disabled" to enable the link creation UI.

Examples

JavaScript

const dp = new DayPilot.Scheduler("dp", {
  linkCreateHandling: "Update",
  // ...
});
dp.init();

Angular

<daypilot-scheduler [config]="config"></daypilot-scheduler>
config: DayPilot.SchedulerConfig = {
  linkCreateHandling: "Update",
  // ...
};

React

<DayPilotScheduler
  linkCreateHandling="Update"
  {/* ... */}
/>

Vue

<DayPilotScheduler
  linkCreateHandling="Update"
  <!-- ... -->
/>

See Also

Link Creation (Drag and Drop) [doc.daypilot.org]

DayPilot.Scheduler Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript