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.googlecode.com/svn/javadoc/1.5/com/google/gwt/user/client/DOM.html#setEventListener(com.google.gwt.user.client.Element, com.google.gwt.user.client.EventListener) Hope that helps, -Sumit Chandel On Tue, Oct 28, 2008 at 11:42 PM, mat <[EMAIL PROTECTED]> wrote: > > 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, > Mathew > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
