Hello Support Team!
Scheduler with Lightbox.
Lightbox has editor with type “select”.
I need to load init options for “select” during first opening Lightbox.
Scheduler section is follow:
scheduler.config.lightbox.sections=[
{name:"procedure_list",
height:21,
map_to:"proc_name_id",
type:"select",
options: ... , // load options by sync ajax
cache:true
},
...
];
...
I have java servlet with connector for retrieving list for option (procedure_list).
So, how to retrieve options once from server and set this option list to “select” editor when Lightbox opens?
any example or hint.
The standard solution - attach optionConnector to scheduler connector.
But I need option (procedure_list ) when LightBox will open only.
And don’t need to send procedure_list when scheduler each render process.
Thank you!