Hi, I was wondering if it’s possible to trigger the popup modal/lightbox on a button click that’s outside of scheduler itself/in a different component?
Hello @sbanas ,
Yes, you can do this. In order to open the lightbox for some event, you should call the showLightbox(id)
method on the external button/component click. Where the id
is the id
of the required event.
Here is the live demo:
http://snippet.dhtmlx.com/5/9458768e1
API showLightox
:
https://docs.dhtmlx.com/scheduler/api__scheduler_showlightbox.html
1 Like
This works, thank you! I had to move it to the header in my application.