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

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