onEventCancel
Description
Срабатывает, когда пользователь нажимает кнопку 'Cancel' в лайтбоксе (форме редактирования)
onEventCancel: (id: string, flag: boolean) => void;
Parameters
id- (required) string - идентификатор событияflag- (required) boolean - принимает значение 'true', если пользователь отменяет создание нового события,
'false', если редактируется уже существующее событие
Example
scheduler.attachEvent("onEventCancel", function(id, flag){
//любая ваша логика здесь
});
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.