The onRectangleSelect event is an event that is fired when the rectangle selection is complete (on mouse button release), after the default action.
Declaration
DayPilot.Scheduler.onRectangleSelect(args);
Parameters
- 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)