The linkClickHandling property (string) sets the default action when a dependency link is clicked. "Enabled" fires click callbacks without changing selection. "Select" also selects the clicked link. "Disabled" suppresses link click callbacks and selection. Use onLinkClick to cancel a click before the default action.

Declaration

DayPilot.Scheduler.linkClickHandling

Default Value

"Enabled"

These excerpts configure an existing DayPilot Pro component. Keep its current timeline, resources and events.

JavaScript

const dp = new DayPilot.Scheduler("dp", {
  linkClickHandling: "Select"
});
dp.init();

Angular

<daypilot-scheduler [config]="config"></daypilot-scheduler>
config: DayPilot.SchedulerConfig = {
  linkClickHandling: "Select"
};

React

<DayPilotScheduler
  linkClickHandling={"Select"}
/>

Vue

<DayPilotScheduler
  :linkClickHandling='"Select"'
/>

See Also

Link Selection

Availability

Availability of this API item in DayPilot editions:

ProductLitePro
DayPilot for JavaScript