I also had trouble with this...I think the browser event might be consumed
by the custom cell so it never fires the eventhandler, but you can still
get the event in the onbrowserevent method of abstractcell.
Give the element an id and then use the event target to get the button fire
event...
Element target = Element.as(event.getEventTarget());
if (target.getId().toString().equals("my_button_id"))
{
Window.alert("my button was pressed!")
}
On Wednesday, June 29, 2011 11:01:54 AM UTC-4, Tod Jackson wrote:
>
> Thanks for the reply. Unfortunately, that doesn't seem to make any
> difference. The CellTable I'm working with is in a custom DialogBox, I
> don't suppose that would make any difference would it? I know I've had to
> do a little extra before when using DialogBoxes...perhaps I'll try to
> eliminate that as a possible culprit. Thanks again.
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/j6wDuD5DZ3kJ.
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.