2

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.

Gal Bracha
  • 19,004
  • 11
  • 72
  • 86

4 Answers4

1

Yes, take a look at CellTable.

Stefan
  • 14,826
  • 17
  • 80
  • 143
1

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.

Hilbrand Bouwkamp
  • 13,509
  • 1
  • 45
  • 52
1

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.

Raduan Santos
  • 1,023
  • 1
  • 21
  • 45
1

Ended up with this Facebook auto complete style http://raibledesigns.com/rd/entry/creating_a_facebook_style_autocomplete

And demo http://demo.raibledesigns.com/gwt-autocomplete/

Gal Bracha
  • 19,004
  • 11
  • 72
  • 86