The rectangleSelectMode property (string) determines the rectangle selection mode of the JavaScript Scheduler.
Declaration
DayPilot.Scheduler.rectangleSelectModePossible 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]
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot