How to prevent drag and drop from particular element in tree-root.
For below html ,how to allow drag only if div with class "header" is clicked but prevent drag if class "body" is clicked.
Have tried dragstart event but it always shows event.target as first parent div(class "node-wrapper")
dragStart: (tree: TreeModel, node: TreeNode, event: any) => { },
How to prevent drag and drop from particular element in tree-root. For below html ,how to allow drag only if div with class "header" is clicked but prevent drag if class "body" is clicked.
Have tried dragstart event but it always shows event.target as first parent div(class "node-wrapper") dragStart: (tree: TreeModel, node: TreeNode, event: any) => { },