Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Doug on Aug 25, 2008 23:24
open dhtmlx forum
combo box image - fromSelect

Is it possible to create a combo box with images using the dhtmlXComboFromSelect constructor? The img_src would be added as attributes to the options in the html.
Answer posted by Support on Aug 26, 2008 06:44
Can be done with latest build of dhtmlxcombo. 
You must define type of options as
<select opt_type="image" ... >
    <option value="1" img_src="some.gif">One</option>
    ....
Answer posted on Oct 18, 2008 04:39

How can I setDefaultImage option with dhtmlXComboFromSelect ? I used your sugestion opt_type="image"