DayPilot.Scheduler.onTimeRangeClick

This event is fired when a user clicks an existing time range selection, before the default action is performed (see also 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()