开发者

Ext.tree.TreeNode setting tooltip dynamic

开发者 https://www.devze.com 2023-01-14 23:04 出处:网络
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 somet

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

精彩评论

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