dynamically populate drop-down-sections in lightbox

Hi.

I am referring to this example:
http://docs.dhtmlx.com/doku.php?id=dhtmlxscheduler:details_form
Especially the “other variation” with custom section.

In my application the sections-Array is beeing resized dynamically, but lightbox does not update the select-box.
Even setting the scheduler.config.lightbox.sections with each refresh seems to have no effect.

Can this behaviour be archived?

Regards,
Gerrit

Hello,

Usually there is no need to generate lightbox form second time so it is rendered one time only and saved for later uses. But it is possible to reset it thus forcing it generation again (and this time updated options for your select will be used).
Try using resetLightbox() function in the same method where you update section list.

Best regards,
Ilya

Great!
Thank you.

Regards,
Gerrit