The linkCreateHandling property specifies the default action used when creating links.
Declaration
DayPilot.Gantt.linkCreateHandlingPossible Values
"Disabled"- creating links using drag and drop is disabled."Update"- the new link is added tolinksand rendered."PostBack"- uses the ASP.NET WebForms postback handler."CallBack"- invokes the server-side event handler using the CallBack mechanism (ASP.NET WebForms, ASP.NET MVC, and Java versions only)."Notify"- invokes the server-side event handler using the Notify mechanism (ASP.NET WebForms, ASP.NET MVC, and Java versions only).
Default Value
"Update"Examples
JavaScript
const gantt = new DayPilot.Gantt("dp", {
linkCreateHandling: "Disabled",
// ...
});
gantt.init();Angular
<daypilot-gantt [config]="config"></daypilot-gantt>config: DayPilot.GanttConfig = {
linkCreateHandling: "Disabled",
// ...
};React
<DayPilotGantt
linkCreateHandling={"Disabled"}
{/* ... */}
/>Vue
<DayPilotGantt
linkCreateHandling="Disabled"
<!-- ... -->
/>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