PDA

View Full Version : Changing tabTip text dynamically



TheBerliner
3 Nov 2009, 3:17 PM
I am seeking a way to change the tabTip text dynamically, which is needed in my case whenever the tabTitle changes.

Does anyone know some working solution?

The only one proposed in the forum earlier for Ext 2 does not works for me, nor any of several modifications that I tried, all of which correctly address the panel that is holding the tabTip.

jburnhams
4 Nov 2009, 2:03 AM
Try this:


Ext.fly(Ext.getCmp('YOUR_PANEL_ID').tabEl).child('span.x-tab-strip-text', true).qtip = 'Test'

TheBerliner
4 Nov 2009, 10:05 PM
Thank you very much for your help!
This works.

The "tabEl" was the missing information. Such things should be part of the documentation, but.... see my footer.