DayPilot.Scheduler.timeRangeClickHandling

The timeRangeClickHandling property (string) specifies the default action for clicking an existing time range selection in the JavaScript Scheduler component.

Declaration

DayPilot.Scheduler.timeRangeClickHandling

Possible Values

  • "Enabled" - keeps the standard click handling for existing selected time ranges enabled.

  • "Disabled" - disables the default click handling for existing selected time ranges.

Default Value

"Enabled"

Notes

Use DayPilot.Scheduler.onTimeRangeClick to inspect or cancel the action before it is performed, and use DayPilot.Scheduler.onTimeRangeClicked to react after it finishes.

This property applies when the user clicks an existing selected time range. Clicking an unselected grid cell uses the time range selection pipeline instead.

Examples

JavaScript

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

Angular

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

React

<DayPilotScheduler
  timeRangeClickHandling="Disabled"
  {/* ... */}
/>

Vue

<DayPilotScheduler
  :timeRangeClickHandling="'Disabled'"
  <!-- ... -->
/>

See Also

DayPilot.Scheduler.onTimeRangeClick

DayPilot.Scheduler.onTimeRangeClicked

DayPilot.Scheduler.timeRangeSelectedHandling

DayPilot.Scheduler Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript