PDA

View Full Version : TreePanel setting draggable on nodes does nothing



Entropy
19 Nov 2010, 1:04 PM
I have a treepanel. It's on another system with no internet access, so i cannot cut & paste the code easily. It's working fine dragging and dropping and such. New requirement, certain nodes are not to be draggable. Sometimes an entire subtree is non-draggable, sometimes just a particular parent node. The one thing that is never true is that a child is never undraggable under a draggable parent.

So I see there is a draggable and allowDrag property on the TreeNode object. Swell. I set them both in the processAttributes of my XmlTreeLoader. No effect. They all still drag around merily. I stepped through in debug. I am pretty confident the property is set.

Any ideas?