Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Jun 24, 2009 14:51
open dhtmlx forum
combo checkbox not working

I can't seem to get checkboxes to show in the combo drop down.

I use:
new dhtmlXCombo("my_combo_div","tags",260,"checkbox");

Then I load the data via XML.

The data loads fine but when viewing the drop down there are not checkboxes.
Answer posted by Alex (support) on Jun 25, 2009 02:28

Hello,

please, check that dhtmlcombo_extra.js is correctly included (please, see sample dhtmlxCombo/samples/options/combo_options.html in combo package).

Answer posted on Jun 25, 2009 11:20
Thank you that worked.

Where can we set the CSS style of the checkbox?  I do not see it in the CSS file.


Answer posted by Alex (support) on Jun 26, 2009 03:31

You can try to set checkbox style as follows:

- style for the options checkboxes:

.dhx_combo_list div input{

/*...*/

}

- style for the header checkbox:

combo.DOMelem_checkbox.className = cssClass;