Wednesday, March 31, 2021

SuggestBox SuggestionDisplay Item ToolTip or mouseover handler

Hi All,

I would like to be able to show a tooltip (or some sort of popup) when the user hovers over a suggestion item in the list of suggestions for a SuggestBox.

So far I've extended and/or reimplemented SuggestBox, SuggestBox.DefaultSuggestionDisplay, and DecoratedPopupPanel, so I can attach a Handler to the DecoratedPopPanel's DecoratorPanel.  This works, and I'm able to get the hovered-over list item (actually, a <td> element) so I expect I can add CSS to show popup content (or worst case manually show it.)   

But I'm wondering if there is a better or more appropriate way.

Any suggestions?

thanks,
Linus

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/989f95d6-7c23-4631-8eb5-6b3c6217b2d0n%40googlegroups.com.

No comments:

Post a Comment