What is the method for setting up two distinct lightboxes in one timeline?
Clicking on a button on the toolbar will prompt the first lightbox with different settings to be called, for instance.
When clicked inside the scheduler, the second lightbox will be called as usual.
So the easiest way to achieve your requirement, is to create some flag variable, and change its value in dependence on clicked area(toolbar/scheduler).
So you will be able to change the scheduler config in the onBeforeLightbox event.
Here is a demo(different lightbox for click on the Top area, and for events created by click/drag inside the scheduler): https://snippet.dhtmlx.com/n8y4a3kq
Kind regards,
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan