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 <al.leh...@fisglobal.com> 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 
>

-- 
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 google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
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.


Reply via email to