I can't find a way to add a Mouse Handler to a GWT Panel or a Grid while using UiBinder.
I basically need a way that I can detect the following over a Grid:
- Detect what cell the event is happening in.
- Detect Mouse Up Event
- Detect Mouse Down Event
- Detect Mouse Out Event
- Detect Mouse Over Event
I had planned to try and do this with the absolute panel overlayed on top of the Grid. I could detect these events on the AbsolutePanel, then based off of the location of the event, determine what cell the event would have taken place in had the AbsolutePanel not have been overlayed on top of the Grid, and then act accordingly. I now find out that the exact same restrictions are placed upon the panels in terms of click handlers, and don't have many options.
I just need to find a way to get the above events to work on the Grid. What would you recommend? Not using UiBinder, I was using DomHandlers, which seem to be disabled in UiBinder (am I wrong?).
Any help is VERY appreciated. Thanks!
~Scott