开发者

Ext.tree.TreeNode setting tooltip dynamic

I was wonder is it possible to add dynamicly too开发者_运维百科ltiptext to a specific tree node, i've tryied to set qtip property but with no success....


With myNode being a TreeNode you can try something like :

myNode.ui.textNode.setAttribute('ext:qtip', 'My dynamic tooltip');

You probably know that but don't forget to activate QuickTips :

Ext.QuickTips.init();
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜