PDA

View Full Version : tooltip for ColumnTree Headers



deepanshu
26 Apr 2010, 10:57 AM
Has anybody been able to add a tooltip to the headers of a Columntree? If yes, please help.
I have tried everything from adding the tooltip to the column of ColumnModel to adding a tooltip on the ColumnNodeUI OnRender, but have had no success (:|

wm003
30 Apr 2010, 5:14 AM
Mmh, i guess you forgot to initialize the Quicktips? I just tried and it works well

As an example change the following in "ColumnNodeUI.js" in line 29


html: '<span ext:qtip="i am a columntree tooltip header!">'+c.header+'</span>'

and insert the following line in "column-tree.js" right after the "onReady"-Method (line 10)



Ext.QuickTips.init();