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

      0  

    Arrow 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?

  2. #2
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,251
    Vote Rating
    73
    Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold

      0  

    Default


    Use:

    Code:
    if(node.ui.textNode.setAttributeNS){
        node.ui.textNode.setAttributeNS("ext", "qtip", 'another tip');
    }else{
        node.ui.textNode.setAttribute("ext:qtip", 'another tip');
    }
    or, if you use qtipCfg:{text:'tip'} instead of qtip:'tip':

    Code:
    Ext.QuickTips.getQuickTip().targets[node.ui.textNode.id].text = 'another tip';

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar