ListSelect first element empty

Hi,
I do like this
final ListSelect select = new ListSelect();
select.setRows(13);
and add some elements. Unfortunatelly first element is always empty. How can I remove it?
Cheers,
Julian

Hi,

I guess that’s the null selection item. Try calling setNullSelectionAllowed(false) on yout ListSelect.

-tepi

works, perfect, thanks :slight_smile: