We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have on condition on save. So i am opening confirmation modal & want to save data on the confirmation.
But as modal popup opens i don't have control over edit modal. So on yes i want to close edit modal.
this.schedularSaveEvent = scheduler.attachEvent("onEventSave", (id, event) => { const hours = Math.abs(event.end_date - event.start_date) / 36e5; if (hours > 24) { this.showModal24Hours = this.modalService.show(this.scheduler24Hourse); } else { return true; } }); okModalClick() { ////hide schedular edit modal }
Is there any method that allows to close edit modal?
The text was updated successfully, but these errors were encountered:
Hi!
Please check out the latest v5.3.1, it's been published just now. we've added scheduler.hideLightbox() method to the public api https://docs.dhtmlx.com/scheduler/api__scheduler_hidelightbox.html
scheduler.hideLightbox()
Is that what you've meant?
Sorry, something went wrong.
It's Partially Resolved My Issue but now it's call onEventDeleted while hideLightbox. Any Resolution around that
Hello, If I understand you correctly, you want to close the lightbox (edit modal) without deleting your event. One of the options is to use endLightbox method with true value. There is an article about it: https://docs.dhtmlx.com/scheduler/api__scheduler_endlightbox.html Please check the following example: http://snippet.dhtmlx.com/5/fc0c5db6f
lightbox
endLightbox
No branches or pull requests
I have on condition on save. So i am opening confirmation modal & want to save data on the confirmation.
But as modal popup opens i don't have control over edit modal. So on yes i want to close edit modal.
Is there any method that allows to close edit modal?
The text was updated successfully, but these errors were encountered: