Topic: Disable root node dragging
Hello, I need to set each root node to disable dragging. Is it possible any way?
Thanks for any help
regards
Paul
You are not logged in. Please login or register.
Pages 1
Hello, I need to set each root node to disable dragging. Is it possible any way?
Thanks for any help
regards
Paul
try add dragDisabled=true property
tree.root.set({property:{dragDisabled: true}});hmm, it seems it doesn't work:/
I tried something with dragDisabled
onDrag: function(){
var node=tree.selected;
if (node.isRoot() = true)
this.dragDisabled = true;
}
but i quess it is incorrect form,
I will be appreciate for any help
thanks
Paul
I've spend couple of hours, Trying different ways to to that, until i try to replace js class from the archive you attached. Now it works great, I had old version before. Thanky you very very much
regards
Paul
Posts [ 5 ]
Pages 1
Powered by PunBB