Hi,
I’m trying to create a option in dhtmlxCombo using a specific style, diferent from the others option, but when a add a option with a css style in the 3th parameter of the addOption method, it has no effects.
How do I create a option with a different style?
Problem confirmed and fixed, fix will be released as part of next build.
If you need fix ASAP - please use attached js file instead of original one.
The correct syntax to add custom styles to element is
combo.addOption(2,2,“color:red; background-color:green”);
dhtmlxcombo.zip (8.3 KB)