Threaded View

  1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    107
    Answers
    4
    Vote Rating
    -1
    sencha.user is an unknown quantity at this point

      0  

    Default Answered: Tree node hyperlink

    Answered: Tree node hyperlink


    Hi,

    I have a tree,
    Code:
    var tree = Ext.create('Ext.tree.Panel', {
            store: store,
            frame: true,
            renderTo: 'tree_el',
            height: 400,
            width: 400
        });
    I used this example,
    http://dev.sencha.com/deploy/ext-4.0...e/reorder.html

    I want to give same hyperlink to all nodes of this tree, how that can be done?

    And how can we align a panel center? The above panel for example.

    Thanks in advance!

  2. In your get-nodes.php you should have something like an array with your nodes:

    Code:
    array(
      'text' => 'this is a hyperlink',
      'href' => 'http://google.com'
    );
    To center your TreePanel you need to edit the layout of your component around your TreePanel:

    Code:
    layout: {
      align: 'center'
    }

Thread Participants: 2

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..." hd porno faketaxi