DayPilot.Scheduler.timeRangeSelectedHandling

The timeRangeSelectedHandling property (string) specifies how DayPilot.Scheduler.onTimeRangeSelected should be handled in the JavaScript Scheduler component.

Declaration

DayPilot.Scheduler.timeRangeSelectedHandling

Possible Values

Default Value

"Enabled"

Notes

Use DayPilot.Scheduler.onTimeRangeSelect to intercept the selection before the default action is performed, and DayPilot.Scheduler.onTimeRangeSelected to react after it completes.

Legacy values such as "PostBack", "CallBack", and "JavaScript" are preserved for integrated server-side editions.

Examples

JavaScript

const dp = new DayPilot.Scheduler("dp", {
  timeRangeSelectedHandling: "Enabled",
  // ...
});
dp.init();

Angular

<daypilot-scheduler [config]="config"></daypilot-scheduler>
config: DayPilot.SchedulerConfig = {
  timeRangeSelectedHandling: "Enabled",
  // ...
};

React

<DayPilotScheduler
  timeRangeSelectedHandling="Enabled"
  {/* ... */}
/>

Vue

<DayPilotScheduler
  timeRangeSelectedHandling="Enabled"
  <!-- ... -->
/>

See Also

DayPilot.Scheduler.api

DayPilot.Scheduler.onTimeRangeSelect

DayPilot.Scheduler.onTimeRangeSelected

DayPilot.Scheduler.update()

DayPilot.Scheduler.clearSelection()

DayPilot.Scheduler Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript