PDA

View Full Version : TreePanel isn't showing lines



silve69
30 Oct 2009, 7:47 PM
Hello friends,

I have a treepanel and everything is OK, except it isn't showing the horizontal level lines... I tryed setting lines:true without success.



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 is empty!');
}
}
}),
root: root
});


Some suggestion??
Best regards,

Silver