It's the latter, though for what we're wanting to do I don't think AbstractEditableCell is what we want.
What we want to do is bring a name per line in one cell that's clickable similar to ClickableTextCell for every object of a sub-list from the model object. For instance if we had the following two classes: public class Foo { private List<Bar> bars; private String something; public List<Bar> getBars() { return bars; } public String getSomething() { return something; } } public class Bar { private String name; public String getName() { return name; } } Then we define a cellTable / Column as so: ... CellTable<Foo> table = new CellTable<Foo>(); Column<Foo, String> somethingColumn = new Column<Foo, String>(new TextCell()) { public String getValue(Foo object) { return object.getSomething(); } }; table.addColumn(somethingColumn); // Here's the ideal part + some pseudo code Column<Foo, String> barNames = new Column<Foo, String>(new CompositeCell<Foo, String>(HasCell<ClickableTextCell, String>()) { public String getValue(Foo object) { for (Bar b: object.getBars()) { return b.getName(); } } }; table.addColumn(barNames); And finally the output would be something like: | Something Header | Bar Header | ------------------------------------------------- | Cool Stuff | Bar 1 | | | Bar 2 | | | Bar 3 | ------------------------------------------------- | More stuff | Bar 7 | ... On Nov 8, 1:33 pm, John LaBanca <jlaba...@google.com> wrote: > Is it dynamic based on the row value, or dynamic in that it can change? If > its the former, you can extend CompositeCell and override the render() > method to hide spans that aren't needed. If its the latter, you will > probably want to extend AbstractEditableCell and copy the examples in > TextInputCell or CheckboxCell. > > Thanks, > John LaBanca > jlaba...@google.com > > On Mon, Nov 8, 2010 at 7:38 AM, Adam <ambr...@gmail.com> wrote: > > We're in the process of converting to CellTable and we have a column > > that has a vertically displayed list of items. This sounds perfect > > for using a CompositeCell with a List of ClickableTextCells, except > > for the fact that our list needs to be dynamic. I suppose I could use > > AbstractColumn and define our own implementation, but I am hoping that > > we have just miss understood CompositeCell. > > > Any thoughts would be greatly appreciated, > > - Adam > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google Web Toolkit" group. > > To post to this group, send email to google-web-tool...@googlegroups.com. > > To unsubscribe from this group, send email to > > google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.