Ryan,
Check out the ImageCell and ActionCell. You can use either of those to
implement the functionality you are looking for.
~Ashwin
On Monday 08 August 2011 09:44 PM, Ryan McFall wrote:
Thanks for the reply Jeff. I'm just getting started using Cells and
the corresponding CellWidgets, so hopefully my questions aren't too
uninformed.
The widget in question basically wraps a panel of PushButtons that
perform an action based on which row of a table they are contained
in.
So to make my Widget into a cell, would it extend CompositeCell, and
then in its constructor pass an appropriate List of other Cells?
Right now the PushButtons have only an icon; what is the best option
to emulate this using the Cell framework?
Thanks,
Ryan
On Aug 8, 9:57 am, Jeff Larsen<[email protected]> wrote:
I'm not sure that what you're trying to do will work. I suspect it won't
with one big reason being Columns don't implemenet the same onBrowserEvent
that Widgets do.
What you probably need to do is redesign your widget as a Cell. Then when
you need to use it as a widget, push that cell into CellWidget.
I'm fully aware of how complicated this could become, but I think this will
be your best option.
For more details on what is probably your best solution, check out this:
https://groups.google.com/forum/#!topic/google-web-toolkit-contributo...
--
You received this message because you are subscribed to the Google Groups "Google
Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.