onEventDropOut
Description
Fires when a dragged event is dropped onto the area out of the scheduler
onEventDragOut: (id: string, ev: object, to: object, e: Event) => boolean;
Parameters
id- (required) string - the event's idev- (required) object - the event's objectto- (required) object - the target scheduler(null, if dropped to an empty area)e- (required) Event - a native event object
Returns
result- (boolean) - defines whether the default action of the event will be triggered (true) or canceled (false)
Example
scheduler.attachEvent("onEventDropOut", function (id, ev, to, e){
//any custom logic here
return true;
});
Details
note
The event fires only in case of drag-n-drop between schedulers.
Related Guides
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.