The onTimeRangeSelected event is fired when a user selects a date/time range using drag and drop in the JavaScript Scheduler component.
This event is fired before the default action specified using timeRangeSelectedHandling property. You can use args.preventDefault() to stop further processing of the event (it will prevent the default action and onTimeRangeSelected).
See also onTimeRangeSelecting event which is fired when the drag and drop selecting is in progress (whenever the selection changes).
DayPilot.Scheduler.onTimeRangeSelect(args)
Not available in api=1 mode.