The onTimeRangeSelected event is fired when the user selects a date/time range using drag and drop in the JavaScript Gantt Chart component.
Time range selection is only supported for the new task row, and only when rowCreateAllowTimeRangeSelection is enabled.
DayPilot.Gantt.onTimeRangeSelected(args)args.start - start of the selection (DayPilot.Date object)
args.end - end of the selection (DayPilot.Date object)