reloading Lightbox ?


Is there a way to reload the lightbox?
My problem is that “description” is an array (section_wonr) loaded from database

   {name:"description", height:23, map_to:"text", type:"select", options:section_wonr, focus:true}, 
   {name:"custom", height:23, type:"select", options:sections, map_to:"type" },
   {name:"time", height:72, type:"time", map_to:"auto"}

I need to reload data several times but i see the changes only when i reload the whole page.
I just want to reload the lightbox with the new filled array.

Thank you

Scheduler 3.0 provides special API

scheduler.updateCollection("section_wonr", [ new data ]);

to work correctly, you need to init the form as

 {name:"description", height:23, map_to:"text", type:"select", options:scheduler.serverList("section_wonr"), focus:true}, 

Beware that it will not update options for already opened lightbox ( can be solved with some extra code )