Ext GWT (GXT) tooltip over a grid row

Posted by Eduardo Palma on Stack Overflow See other posts from Stack Overflow or by Eduardo Palma
Published on 2011-04-19T13:02:48Z Indexed on 2012/09/19 3:38 UTC
Read the original article Hit count: 632

Filed under:
|
|

I'm developing a custom tooltip using Ext GWT (GXT) for a project of mine, and this tooltip has to appear over Grid rows when they're selected. I can't use the default GXT tooltip or quicktip because I need be able to add Components (like buttons) to this tooltip.

The problem is that the GXT Grid component doesn't expose a event related to mousing over a row (although there's RowClick and RowMouseDown). I tried adding a listener to the Grid with the OnMouseOver and OnMouseOut events anyway, but it doesn't work as expected. It fires these events up whenever you mouse over any of the divs and spans that composes a row.

The only way I see to solve this is to subclass the GridView component and make each row become a Component itself, but that would be a lot of work and would probably impact performance as well. I can't help but think there's a better way to do this.

Could someone more experienced with GXT give me a light?

© Stack Overflow or respective owner

Related posts about gwt

Related posts about gxt