Skip to main content

onEventCancel

Description

Fires when the user clicks on the 'Cancel' button in the lightbox (edit form)

onEventCancel: (id: string, flag: boolean) => void;

Parameters

  • id - (required) string - the event's id
  • flag - (required) boolean - returns 'true', if the user is cancelling a new event,
    'false' - if the edited event already exists

Example

scheduler.attachEvent("onEventCancel", function(id, flag){
//any custom logic here
});
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.