Hi Mathew,
You shouldn't need to cast the retrieved DOM element as a Widget. You can
add an Event Listener directly on the Element through the
DOM.setEventListener(Element elem, EventListener listener) method. Check out
the Javadoc link below for more details.
DOM API:
http://google-web-toolkit.go
Technically no, that's like saying "I have this tire here, how do I
cast it to a pickup truck? I want to use it to haul a couch." That
isn't even a reasonable thing to expect ...
HOWEVER ...
Some widgets have a static wrap() method that allow you to connect
elements that exist in DOM to the
Hi,
I have created a Html table using a String builder (which i chose over
using FlexTable / Grid because of performance reasons).
Now, the problem is that I want to add a TableListener for this
table.
Is there a way to cast a DOM element into a Widget so I can add Event
Handlers?
Many Thanks,