The timeRangeClickHandling property (string) specifies the default action for clicking an existing time range selection in the JavaScript Scheduler component.
DayPilot.Scheduler.timeRangeClickHandling"Enabled" - keeps the standard click handling for existing selected time ranges enabled.
"Disabled" - disables the default click handling for existing selected time ranges.
"Enabled"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.
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'"
<!-- ... -->
/>DayPilot.Scheduler.onTimeRangeClick
DayPilot.Scheduler.onTimeRangeClicked