DayPilot.Gantt.linkCreateHandling

The linkCreateHandling property specifies the default action used when creating links.

Declaration

DayPilot.Gantt.linkCreateHandling

Possible Values

  • "Disabled" - creating links using drag and drop is disabled.

  • "Update" - the new link is added to links and 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]

DayPilot.Gantt.onLinkCreate

DayPilot.Gantt.onLinkCreated

DayPilot.Gantt Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript