Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Daniel on Nov 21, 2007 11:56
open dhtmlx forum
dhtmlxCombo - option css

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?
Answer posted on Nov 22, 2007 02:41
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");
Attachments (1)