OptionGroup scrollable


in some cases, the OptionGroup I use has many (~100) elements, so I would want to display about 10 and provide scrollbars to show the remaining items.

Is there a chance to have scrollbars for an OptionGroup (without using the dirty Panel workaround)?

You could probably set the wrapper div height in CSS and changing the overflow definition to scroll. Remember to test in all browsers :slight_smile:

Although you don’t seem to like it, I’d say these kinds of cases are exactly what the Panel component has been designed for. You can use Panel.setStyleName(Reindeer.PANEL_LIGHT) to remove the borders etc.