On Double Click show custom Lightbox with parameters

i’ve a custom lightbox (using wordpress acf form) to insert new events.
I would like to set some fields depending on x_val and y_val on onCellDblClick event.
So i call scheduler.showLightbox in scheduler.attachEvent(“onCellDblClick”, function…

But it doesn’t work: first time open default lightbox, then open my custom lightbox but with previous parameters.
Is there any other function to use to open my lightbox passing parameters?


Hello @Simone_Ascari

As I understand the issue, you should create the custom lightbox using the way described in this article. It is a way how to redefine the default lightbox with a new one to avoid opening the default lightbox: