DayPilot.Scheduler.rectangleSelectMode

The rectangleSelectMode property (string) determines the rectangle selection mode of the JavaScript Scheduler.

Declaration

DayPilot.Scheduler.rectangleSelectMode

Possible Values

  • "Free" allows free-hand selection over multiple rows.

  • "Row" limits the selection to a single row.

Default Value

"Free"

Examples

JavaScript

const dp = new DayPilot.Scheduler("dp", {
  rectangleSelectMode: "Row",
  // ...
});
dp.init();

Angular

<daypilot-scheduler [config]="config"></daypilot-scheduler>
config: DayPilot.SchedulerConfig = {
  rectangleSelectMode: "Row",
  // ...
};

React

<DayPilotScheduler
  rectangleSelectMode="Row"
  {/* ... */}
/>

Vue

<DayPilotScheduler
  rectangleSelectMode="Row"
  <!-- ... -->
/>

See Also

Rectangle Selection [doc.daypilot.org]

DayPilot.Scheduler Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript