PDA

View Full Version : How i can add buttons into a TreePanel



royshoa
11 Jun 2012, 10:10 PM
Hello,
I like to add a buttons into a TreePanel.
The buttons need to be right to every node and i like that when the user clickon a button it will open the node right clic36137k settings of the same node.
I attache a picture to this post with example.

36137

14 Jun 2012, 4:38 AM
approved thread. Dude, what you're looking to do is somewhat painful unless you go with a multi-column tree.

slemmon
15 Jun 2012, 11:41 PM
Jay,
If you did a multi-column tree would you use an action column? Or would you have actual buttons in there, not just images?

royshoa
16 Jun 2012, 9:48 PM
I did not use a multi-column tree.
I use the normal tree panel, Can you send me an example of multi-column tree?
as i need it in the first column i need to have the Page Name and in the second column
i need to have a button.

royshoa
24 Jun 2012, 9:58 PM
Okay i found what i need.
http://dev.sencha.com/deploy/ext-4.1.0-gpl/examples/tree/treegrid.html
Thanks!