I had a onBrowserEvent method in my ancestor class that was consuming the event.
On Apr 5, 4:49 pm, Michael Prentice <[email protected]> wrote: > I just tried this: > > grid.addClickHandler(new ClickHandler() { > public void onClick(ClickEvent event) { > System.out.println("Grid Clicked!"); > > } > }); > > And it works just fine. > > What Window class are you importing? I just tried it with import > com.google.gwt.user.client.Window; and it worked fine in dev mode. > > > > On Thursday, April 4, 2013 1:27:43 PM UTC-4, skippy wrote: > > > I am using GWT 2,4 if that helps. > > > On Apr 4, 10:35 am, skippy <[email protected]> wrote: > > > I am trying to add a Click Handler to a Grid object, but it never > > > fires. > > > > tableData.addClickHandler(new ClickHandler() > > > { > > > public void onClick(ClickEvent event) > > > { > > > Window.alert("I am here"); > > > } > > > > }); > > > > Any ideas would be great. > > > > Thanks- Hide quoted text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
