DayPilot.Scheduler.onTimeRangeRightClick

The onTimeRangeRightClick event is fired when a user clicks an existing time range selection or selects a time range using right mouse button in the JavaScript Scheduler component. It is fired before the default action is performed (see also timeRangeRightClickHandling) - see also onTimeRangeRightClicked which is fired after the default action.

Declaration

DayPilot.Scheduler.onTimeRangeRightClick(args);

Parameters

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

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

  • args.resource - resource ID

  • args.ctrl

  • args.meta

  • args.shift

  • args.preventDefault()