Open
Description
Hello, I am trying to figure out how add click support to get all of the specific node data however I don't see the proper node data like I do in the dragend event for instance the parent is missing on the click of a node but is present in the dragend event.
I saw your answer for supporting this functionality in #61 however when I do that same thing I don't for instance get the parent or children of the clicked node like I do when I log the data from a dragend function.
Here is what I see in the dplh of a dragend event:
- notice the parent and children are here
dplh: Object
active: false
children: Array(0)
class: "draggable-placeholder"
droppable: false
innerBackClass: "draggable-placeholder-inner-back"
innerBackStyle: Object
innerClass: "draggable-placeholder-inner"
innerStyle: Object
isDragPlaceHolder: true
level: null
open: true
parent: {…}
style: Object
_id: "draggable_tree_drag_placeHolder"
_treeNodePropertiesCompleted: true
Here is what I see in _vm.store.dplh
on the click event:
- notice the parent and children are NOT here
dplh: Object
class: "draggable-placeholder"
droppable: false
innerBackClass: "draggable-placeholder-inner-back"
innerBackStyle: Object
innerClass: "draggable-placeholder-inner"
innerStyle: Object
isDragPlaceHolder: true
level: null
style: Object
_id: "draggable_tree_drag_placeHolder"
Metadata
Metadata
Assignees
Labels
No labels