-
28 Dec 2007 2:04 PM #1
update treenode qtip
update treenode qtip
treenode qtip is given at creation by qtip: 'somthing',
i can read treenode.attributes.qtip into a string, but how can I update qtip text?
-
29 Dec 2007 12:48 AM #2Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- The Netherlands
- Posts
- 24,251
- Vote Rating
- 41
Use:
or, if you use qtipCfg:{text:'tip'} instead of qtip:'tip':Code:if(node.ui.textNode.setAttributeNS){ node.ui.textNode.setAttributeNS("ext", "qtip", 'another tip'); }else{ node.ui.textNode.setAttribute("ext:qtip", 'another tip'); }
Code:Ext.QuickTips.getQuickTip().targets[node.ui.textNode.id].text = 'another tip';


Reply With Quote