The onRectangleSelect event is an event that is fired by the JavaScript Scheduler when the rectangle selection is complete (on mouse button release), after the default action.
DayPilot.Scheduler.onRectangleSelect(args);args.events - an array of events that overlap with the rectangle
args.start - start time of the rectangle selection (DayPilot.Date object)
args.end - end time of the rectangle selection (DayPilot.Date object)
args.resources - an array of resources that overlap with the rectangle selection (array of IDs)