The allowMultiSelectLinks property (boolean) allows Ctrl-click or Meta-click to toggle individual links while keeping the other selected links. Applies when linkClickHandling is "Select". Without a modifier, clicking a link replaces the selection. Set this property to false for single-link selection.

Declaration

DayPilot.Scheduler.allowMultiSelectLinks

Default Value

true

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

JavaScript

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

Angular

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

React

<DayPilotScheduler
  linkClickHandling={"Select"}
  allowMultiSelectLinks={false}
/>

Vue

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

See Also

Link Selection

Availability

Availability of this API item in DayPilot editions:

ProductLitePro
DayPilot for JavaScript