This is a migrated thread and some comments may be shown as answers.

Disable Drag on Nodetext

0 Answers 34 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Christian
Top achievements
Rank 1
Christian asked on 12 Oct 2011, 08:10 PM
Hello,

I have an tree containing multiple nodes with icons. I set the allowDrag on the node, so I can drag the node.
What I want is to allow the user to drag the node grabbing the icon. But I want to prevent the user from dragging the Node by grabbing the text of the node. How can I do this?
Is it possible to identify if the user grabbed the icon or the text and then cancel the dragevent?

Thank you very much

Christian

No answers yet. Maybe you can help?

Tags
TreeView
Asked by
Christian
Top achievements
Rank 1
Share this question
or