Can comboBox displays options as two rows

Hi there,

I’ve met a problem. I want to display the drop down list as two rows for one item because sometimes the item caption is too long. Is that possible?

I’ve tried populate html content into item captions, but it doesn’t work. I think the characters “
” must have been replaced in the back end as rendering html components.

I saw there’s a ticket which allows html content in comboBox. (http://dev.vaadin.com/ticket/8400)
I don’t know if this function has been added into vaadin 7.

Any suggestion?

Thanks very much.

It says in the ticket that this functionality will be considered in Vaadin 7.2 when the Combobox component gets rewritten.
For now you might be able to extend ComboBox/VFilterSelect/FilterSelectSuggestions to support this kind of feature.