Hello,
Is it possible to color the text in the combo box ?
or is it possible to set the background color in the combo ?
Could you please give me the sample code for display the text with color in combo or set the background color in combo.Thanks!
You can assign any custom styles to options, while creation
combo.addOption(1,“One”,“color:red;”)
If you mean the input element of combo, the styling for it can be changed in dhtmlxcombo.css
.dhx_combo_input{
or by JS API as
combo.DOMelem_input.style=‘color:red;’