Hi,
Basically i am looking for a method equivalent to ListBox.setVisibleRowCount(5) in gwt.. Cant find it.
I want to know how to set the visible row count for SelectItem even if it has no values currently associated with it..
That is i want there to be say 5 rows showing even if there are no items, 2 items or 100 items. I do not want it to be multiple selection though.
i have tried the following and combinations of the following but no joy when the initial values are empty.
Any help is appreciated. Its probably staring me in the face but ..
Thanks,
Basically i am looking for a method equivalent to ListBox.setVisibleRowCount(5) in gwt.. Cant find it.
I want to know how to set the visible row count for SelectItem even if it has no values currently associated with it..
That is i want there to be say 5 rows showing even if there are no items, 2 items or 100 items. I do not want it to be multiple selection though.
i have tried the following and combinations of the following but no joy when the initial values are empty.
Code:
selectedItemsList = new SelectItem(); selectedItemsList.setTitle("Selected"); selectedItemsList.setMultiple(false); selectedItemsList.setMultipleAppearance(MultipleAppearance.GRID); selectedItemsList.setHideEmptyPickList(false); selectedItemsList.setEmptyPickListHeight(120); selectedItemsList.setPickListHeight(120);
Thanks,
Comment