In tree my requirement is to find the parent while clicking the child nodes.


         ->  *node1* parent inside the childs
                    .lable1
                    .lable2
                    .lable3
                    * node1.1* this another parent inside node1
                          .lablel4
                          .lable5
                           node1.1.1
                                .lable11
                                 .lable12
                  *  node1.2* is another parent inside node1
                          .lable6
                           .lable7
        ->*node2*  Parent elemet this node
           .lable 2.1
            .lable 2.1
            .lable 2.1

       -> *node3*  Parent elemet this node
           .lable 3.1
           .lable 3.2
           .lable 3.3
           .lable 3.4

Here i am facing the proble is when i click the label1 geting  the parent
node fine.
when again i clcik inside the *node1.1* inside child click it geting the *
node1.1* prent only came. i want grant parent of* node1*.

var tree:Tree = Tree(event.currentTarget);

trace( " parent is "+ tree.getParentItem(Treeid.SelectedItem)); i am doing.
it take parent only but it not taking the grand parent.(firstnode)



Thanks&Regards
N.PhaniPrasad

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to