The multiSelectRectangle property (string) determines the rectangle event selection mode. When rectangle selection is enabled, it lets users select multiple Scheduler events using drag and drop while holding the Shift key.
This is a legacy property that has been replaced by DayPilot.Scheduler.rectangleSelectHandling and DayPilot.Scheduler.rectangleSelectMode.
Declaration
DayPilot.Scheduler.multiSelectRectanglePossible Values
"Disabled"- disables rectangle event selection."Free"- enables free-hand rectangle selection."Row"- limits the selection to a single row.
Default Value
"Disabled"Notes
See Event Multi-Selecting for an overview of selecting multiple events.
Examples
JavaScript
const dp = new DayPilot.Scheduler("dp", {
multiSelectRectangle: "Free",
// ...
});
dp.init();Angular
<daypilot-scheduler [config]="config"></daypilot-scheduler>config: DayPilot.SchedulerConfig = {
multiSelectRectangle: "Free",
// ...
};React
<DayPilotScheduler
multiSelectRectangle="Free"
{/* ... */}
/>Vue
<DayPilotScheduler
multiSelectRectangle="Free"
<!-- ... -->
/>
DayPilot