Threaded View
-
7 Nov 2007 2:48 PM #1
[2.0rc1/2.0.1] TreePanel: Dropping onto a Leaf Node
[2.0rc1/2.0.1] TreePanel: Dropping onto a Leaf Node
Whenever any node is set as a leaf, you can't append nodes to it via drag+drop.
I think this must be a mistake since there are config options 'allowChildren' and 'allowDrop' to control such behavior.
Changing this line of Ext.tree.TreeDropZone in getDropPoint() (removing the isLeaf check) fixes it:
Code:var noAppend = tn.allowChildren === false || tn.isLeaf();


Reply With Quote