DayPilot.Scheduler.rowCreateAllowTimeRangeSelection

The rowCreateAllowTimeRangeSelection property (boolean) enables time range selection for the new resource row in the JavaScript Scheduler.

Declaration

DayPilot.Scheduler.rowCreateAllowTimeRangeSelection

Default Value

false

Notes

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

DayPilot.Scheduler Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript