Threaded View
-
26 Nov 2012 6:57 AM #1
Answered: Tree node hyperlink
Answered: Tree node hyperlink
Hi,
I have a tree,
I used this example,Code:var tree = Ext.create('Ext.tree.Panel', { store: store, frame: true, renderTo: 'tree_el', height: 400, width: 400 });
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!
-
Best Answer Posted by Arg0n
In your get-nodes.php you should have something like an array with your nodes:
To center your TreePanel you need to edit the layout of your component around your TreePanel:Code:array( 'text' => 'this is a hyperlink', 'href' => 'http://google.com' );
Code:layout: { align: 'center' }


Reply With Quote