DayPilot.Scheduler.onTimeRangeClick

The onTimeRangeClick event is fired when a user clicks an existing time range selection in the JavaScript Scheduler component, before the default action is performed (see also timeRangeClickHandling and onTimeRangeClicked).

Note that clicking an unselected grid cell fires onTimeRangeSelect and onTimeRangeSelected.

Declaration

DayPilot.Scheduler.onTimeRangeClick(args);

Parameters

  • args.start - selection start (DayPilot.Date)

  • args.end - selection end (DayPilot.Date)

  • args.resource - resource ID

  • args.preventDefault()