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.
Hello,
please, check that dhtmlcombo_extra.js is correctly included (please, see sample dhtmlxCombo/samples/options/combo_options.html in combo package).
Thank you that worked.
Where can we set the CSS style of the checkbox? I do not see it in the CSS file.
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;