PDA

View Full Version : ComboBox doesn't respect existing style when transforming a select list



alexb
3 Jul 2007, 1:01 AM
Not sure it's a bug, but nevertheless...

Let's say some options have some style attached (e.g. color:red).
This style is lost after transformation

It would also be nice if ComboBox let developers manipulate its items' properties (style, text, values)

I know it's possible to change the underlying store to change text and values, but sometimes it's easier to do it directly

jack.slocum
3 Jul 2007, 2:41 AM
Considering that styling options in a select is not cross browser, it is highly unlikely it will be implemented (IE options don't even have a style object :().

Either way, this isn't the right forum. ;)

alexb
4 Jul 2007, 2:21 AM
What about ComboBox item's style? Will it be possible to change it?

Thanks

tryanDLS
4 Jul 2007, 8:54 AM
Combo builds the select list using a View, so you could probably access the combo.view property and manipulate nodes that way.