PDA

View Full Version : Toolbar for the TreePanel



KJedi
21 Feb 2008, 2:30 AM
I need one button for the TreePanel - save button. Here is my code:

var tree = new Ext.tree.TreePanel({
el:el,
enableDD:true,
autoScroll:true,
animate:true,
tbar:[{text:'Save', handler:Ext.tree.saveTree}]
});
I'm loading tree from XML, it's OK, but toolbar seems to have very big height and there are no buttons there...
Where is my mistake?

MoShAn480
31 Mar 2008, 12:26 PM
did you find a solution for this? I am having same problem. Thanks.