The rowCreateAllowTimeRangeSelection property (boolean) enables time range selection for the new resource row in the JavaScript Scheduler.
Declaration
DayPilot.Scheduler.rowCreateAllowTimeRangeSelectionDefault Value
falseNotes
Use this property together with rowCreateHandling when row creating is enabled.
Examples
JavaScript
const dp = new DayPilot.Scheduler("dp", {
rowCreateHandling: "Enabled",
rowCreateAllowTimeRangeSelection: true,
// ...
});
dp.init();Angular
<daypilot-scheduler [config]="config"></daypilot-scheduler>config: DayPilot.SchedulerConfig = {
rowCreateHandling: "Enabled",
rowCreateAllowTimeRangeSelection: true,
// ...
};React
<DayPilotScheduler
rowCreateHandling="Enabled"
rowCreateAllowTimeRangeSelection={true}
{/* ... */}
/>Vue
<DayPilotScheduler
rowCreateHandling="Enabled"
:rowCreateAllowTimeRangeSelection="true"
<!-- ... -->
/>See Also
Row Creating [doc.daypilot.org]
Time Range Selecting [doc.daypilot.org]
DayPilot.Scheduler.rowCreateHandling
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot