Represent a List of strings in GWT as widget in an editor

933 views Asked by At

I'm building a GWT app.

I want to associate a list of items (List < String >) to an editor.

Is there any built in widgets that support editing list of items?

Something that will show comma separated values and will know how to render them back to the proxy.

4

There are 4 answers

0
Hilbrand Bouwkamp On BEST ANSWER

You can use the CellList widget to display a list of items. If you want to present them horizontal add float:left as style to the individual items in the Celllist style items: cellListEvenItem and cellListOddItem.

0
Stefan On

Yes, take a look at CellTable.

0
Raduan Santos On

You can implement your custom class for CellList and/or CellTable adapting for your needs. All components from gwt extends Widget, and can be extended too.

0
Gal Bracha On