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.linkCreateHandlingPossible Values
"Disabled"- link creation is disabled."Update"- the link is created automatically."CallBack"- the server-sideLinkCreateevent handler is fired using CallBack. ASP.NET WebForms, ASP.NET MVC, and Java only."PostBack"- the server-sideLinkCreateevent handler is fired using PostBack. ASP.NET WebForms only."Notify"- the link is created automatically and the server-sideLinkCreateevent 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]
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot