Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Herman Raath on Mar 18, 2009 07:08
open dhtmlx forum
dhtmlxCombo from html with Checkboxes

Hi There

How can I enable checkboxes on a dhtmlxCombo that was created with dhtmlXComboFromSelect()? The only examples I can find uses new dhtmlXCombo().

Also is it possible to set the image path for dhtmlxCombo specifically (i.e. not by using window.dhx_globalImgPath="../codebase/imgs/";)

Thanks

H
Answer posted by Alex (support) on Mar 18, 2009 07:33

Hello,

The option type can be set in the select tag using opt_type attribute:

<select style='width:200px;' id="combo_zone" name="alfa" opt_type="checkbox">...</select>