DayPilot.Scheduler.onTimeRangeSelect

Declaration

onTimeRangeSelect(args) 

Parameters

  • args.start - start of the selection (DayPilot.Date object)
  • args.end - end of the selection (DayPilot.Date object)
  • args.multirange - an array of selections (if multi-range selection is enabled); each item has start, end, and resource properties
  • args.resource - ID of the selection resource (string or number)
  • args.preventDefault() - prevents the default action and onTimeRangeSelected

Notes

Not available in api=1 mode.

See Also