@ironwill1023 wrote:
I’d like to get item object from it’s child object when user click child object.
For example:itemTemplate: $(go.Panel, "Auto", $(go.Shape, "Rectangle"), $(go.Panel, "Auto", { click: function(e, obj){ // How to get item object from obj? //obj.part returns node, not item object } } ) )Or how to get item index from it’s child object in the item template?
Regards
Posts: 2
Participants: 2