Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Chris Morris on Mar 05, 2008 17:38
open dhtmlx forum
Loading Images without XML file

Is it possible to use the combobox with images without having to use an XML file?
Answer posted by Support on Mar 06, 2008 02:20
Sure, after enabling "image" mode you can use the same addOption command or its variation _addOption to set all possible parameters
var z=new dhtmlXCombo("combo_zone2","alfa2",200, 'image');
z._addOption({value:1, text:"one",img_src:"some.gif"});