1. #1
    Sencha User
    Join Date
    Sep 2012
    Posts
    48
    Vote Rating
    0
    eaglefox12 is on a distinguished road

      0  

    Default Unanswered: how to get value of a node where a leaf is dropped in a tree

    Unanswered: how to get value of a node where a leaf is dropped in a tree


    I have a tree panel where a leaf can be dropped to a node. I want to get the value of that node where the leaf is dropped.

    Doing this gets me the first node and not the node where I dropped the leaf

    Code:
    Ext.StoreMgr.lookup('myStore').tree.root.childNodes[0].get('nodeName')
    Is there a way to do this...

    Thanks

  2. #2
    Sencha - Community Support Team friend's Avatar
    Join Date
    Apr 2011
    Posts
    895
    Vote Rating
    27
    Answers
    106
    friend has a spectacular aura about friend has a spectacular aura about

      0  

    Default


    It looks like the Ext.tree.plugin.TreeviewDragDrop plugin may let you get at what you want. In particular, look at the drop event.

Thread Participants: 1

Tags for this Thread