GXT: tooltips on individual TreeItems

ext_logoIn the series: “how to lose time by fixing GXT stuff that should work but doesn’t“, today we address tooltips on individual TreeItems. If you ever tried to set a tooltip on a TreeItem and got frustrated because it didn’t work, you might find this post interesting:


As usual, a lot of time is spent working around GXT oddities, only to find new ones… For example, Component.setToolTip takes not a ToolTip, but a ToolTipConfig. Additionally, it instantiates the ToolTip. There is no way of passing an already constructed ToolTip to a Component, which means you can’t use a subclass of ToolTip. (Hint for GXT developpers: Law of Demeter)

2 thoughts on “GXT: tooltips on individual TreeItems

    1. Sorry, Sencha has changed their forum and apparently it’s not accessible any more…

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.