PDA

View Full Version : TreePanel not shows lines



silve69
30 Oct 2009, 6:13 PM
Hello friends,

I have a treepanel inside a tabpanel, everything is working OK except the treepanel isn't showing the level lines (with or without lines=true).

Code:


var root = new Ext.tree.AsyncTreeNode({ id:'root', text:'Root', allowDrag:false, allowDrop:true });
var tree_setupDepartments = new Ext.tree.TreePanel({
region: 'west',
split: true,
useArrows: true,
animate:true,
enableDD:true,
containerScroll: true,
autoScroll:true,
animCollapse: true,
rootVisible: false,
lines: true,
width: 430,
loader: new Ext.tree.TreeLoader({
dataUrl:'view.php',
baseParams: {action:'viewDeptNodes', method:'POST'},
listeners: {
load: function(object_this, object_node) {
object_node.expand(true);
},
loadexception: function() {
alert('DataBase empty!');
}
}
}),
root: root
});


Some suggestion???
Best regards,

Silver

Animal
31 Oct 2009, 12:14 AM
You've asked it to use Arrows instead.

silve69
3 Nov 2009, 11:17 AM
ups, :">
thank you!!!