PDA

View Full Version : how to add alt message to tree panel



kiranmca
13 Sep 2011, 12:43 AM
Hi

I want to add html alt message to my tree panel elements. On mouse over it should display alt message (like tooltip). Can you please give me some example for this.

-Kiran

dj
15 Sep 2011, 2:05 PM
it's the qtip config option you are searching:
http://docs.sencha.com/ext-js/4-0/#!/api/Ext.data.NodeInterface-cfg-qtip

... and don't forget to call


Ext.tip.QuickTipManager (http://docs.sencha.com/ext-js/4-0/#!/api/Ext.tip.QuickTipManager).init();

once oherwise the config has no effect.

mberrie
17 Sep 2011, 9:48 AM
@kiranmca

does that answer your question?

kiranmca
18 Sep 2011, 11:11 PM
Here is my answer: qtip

{text:'View Organization',target: 'iOMS', leaf:true,id:'viewOrg', xyz: 'test', qtip:'view organaizations'},