GWT ValueListBox: can it support more than one choice?

Can a GWT ValueListBox support multiple options? Also, is there a way to get it to display more than one value at a time (e.g. ListBox.setVisibleItemCount ())?

It looks like you will need to get into the base ListBox (or create a custom one somehow) for this to happen. Of course, it getListBox()is closed, so out.

+3
source share
1 answer

No. ValueListBox is designed to work with a single value. Therefore, it can be easily used as an editor (from the editor's environment) for a wrapped type. For multiple selection, you can use a ListBox, but AFAIK there is no easy way to use it as an editor (you need to write your own custom editor based on ListBox).

+5
source

Source: https://habr.com/ru/post/1794507/


All Articles