Hello Nacho,

I need help with this, this is completely new issue. I am working on
creating a popup menu whenever some one clicks on a cell in the table.
I found this topic and trying to implement it

"http://groups.google.com/group/google-web-toolkit/browse_thread/
thread/bef4514adb42bf9d/7041af9896534f34?lnk=gst&q=FlexTable
+Popup#7041af9896534f34"

At the line of "super.onBrowserEvent(event);", eclipse is throwing an
error that "The method onBrowserEvent(Event) is undefined for the type
Object". Can you help me on this. If you want i will post this as a
new post, if you feel i should do that.

Thanks in advance.

This is what i have:
private FlexTable propertyDisplayTable = new FlexTable();

propertyDisplayTable.sinkEvents(Event.ONCLICK);

  public void onBrowserEvent(Event event) {
      // process the event
      switch (DOM.eventGetType(event)) {
      case Event.ONCLICK: {
              // Save the x and y coordinate of the mouse so we can
position the popup
                      xCoord = DOM.eventGetClientX(event);
                      yCoord = DOM.eventGetClientY(event);
          break;
        }
       super.onBrowserEvent(event);
      }
  }

On Jan 17, 9:24 am, nacho <[email protected]> wrote:
> ;)

-- 
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.

Reply via email to