Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by STV on Sep 08, 2009 03:47
open dhtmlx forum
Editors customization

Hi,

I want to customize one of data for event. I want to put a combobox, thant changes its content based on a radiobox buttons on page. The best way to get this would be getting combo options from an Ajax request.

Thanks in advance,

Esteve
Answer posted by Alex (support) on Sep 08, 2009 03:59

Hello,

combo options can be loaded from xml file or xml string:

combo.loadXML(path_to_xml)

combo.loadXMLString(xml_string)

Moreover you can use addOption method to add options. The sample is dhtmlxCombo/samples/01_initialization/02_combo_init.html

Answer posted on Sep 08, 2009 04:12
Thanks for this quick answer. Unfortunatelly, I don't find this script on download file. I'm testing community version. Thanks again.
Answer posted by Alex (support) on Sep 08, 2009 04:17
Answer posted on Sep 08, 2009 14:56
Sorry, I mispelled the product: scheduler, so I want to update a combobox into  the ligthbox. Thanks again for your patience.