Vaadin is it possible to have different colors for text items in ComboBox

726 Views Asked by At

For example in my ComboBox I want the expense items to be colored in red text and the revenue items to be colored in green text. How can I do this in Vaadin's ComboBox component, assuming I'm working from a BeanItemContainer?

1

There are 1 best solutions below

1
On BEST ANSWER

It's not possible with the ComboBox without any client-side modifications. It might be possible to develop your own Extension, that would do that.