1. #1
    Sencha User
    Join Date
    Oct 2007
    Posts
    447
    Vote Rating
    0
    mxu is on a distinguished road

      0  

    Arrow how to add qtip to treeNode ui

    how to add qtip to treeNode ui


    is there a way to add qtip onto treeNode's UI ?

  2. #2
    Ext User
    Join Date
    Apr 2007
    Posts
    36
    Vote Rating
    0
    architect is on a distinguished road

      0  

    Default


    it's a configuration of treenode.
    Code:
    var newNode = new Ext.tree.AsyncTreeNode({
    			id: uid, 
    			text: "New file", 
    			iconCls: 'file',
    			leaf: true,
    			qtip:'my qtip'
    		});
    If you want to modify the qtip after the rendering of the tree, use the following function (found somewher in the forum, I don't remember where!
    Code:
    function updateqt(B,C,A){
    if(B.getUI().textNode.setAttributeNS){B.getUI().textNode.setAttributeNS("ext","qtip",C);if(A){B.getUI().textNode.setAttributeNS("ext","qtitle",A);}}else{B.getUI().textNode.setAttribute("ext:qtip",C);if(A){B.getUI().textNode.setAttribute("ext:qtitle",A);}}
    }
    usage:
    Code:
    updateqt(n, n.attributes.qtip , null);

  3. #3
    Sencha User
    Join Date
    Oct 2007
    Posts
    447
    Vote Rating
    0
    mxu is on a distinguished road

      0  

    Arrow


    i have a static treenode and leaf at the content tree, for dynamically added treenode,
    the tip is shown when mouse is over the the node text field. For static node
    leaf where text and qitp have been added as below

    ...
    text: 'nodeName,
    ...
    qtip: 'sometip',
    ...

    the problem is that the tip is only shown when mouse is positioning at the right bottom corner of the node text field instead of mouse over the text filed.

    any suggestion for solving it ?

  4. #4
    Ext User
    Join Date
    Apr 2007
    Posts
    36
    Vote Rating
    0
    architect is on a distinguished road

      0  

    Default


    I haven't the same behaviour as you. the tooltip appears when I position the mouse over the label of the node

  5. #5
    Sencha User
    Join Date
    Oct 2007
    Posts
    447
    Vote Rating
    0
    mxu is on a distinguished road

      0  

    Arrow


    when i used class at formatting treenode/leaf text like like bold/italic, it works fine,

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."