The rowCreateAllowTimeRangeSelection property (boolean) enables time range selection for the new resource row in the JavaScript Scheduler.
DayPilot.Scheduler.rowCreateAllowTimeRangeSelectionfalseUse this property together with rowCreateHandling when row creating is enabled.
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"
<!-- ... -->
/>Row Creating [doc.daypilot.org]
Time Range Selecting [doc.daypilot.org]