Saturday, February 12, 2011

Re: CellTable SelectionCell or only text within a column

A column can only have one cell, which can't be changed on a row by
row basis. You could subclass SelectionCell and override render to
return the output of its super's render or the output of a TextCell
that you'll store in an attribute.

On Feb 12, 5:07 am, Sydney <sydney.henr...@gmail.com> wrote:
> In a column of a CellTable I would like to display either a combo box list
> or just a String depending on the value. I could just disable the combo box
> in the case I don't want the value to be editable but I was wondering if
> there was a way to display different type of cell (SelectionCell and
> Cell<SafeHtml>) depending on a value.

--
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate