1 Reply Latest reply on Jul 28, 2010 6:04 AM by Ilya Shaikovsky

    delete treenode recursively

    vijay kumar Novice

      Hii everyone

       

          I need to delete treeNode recuresively.

       

         that is if i click a node and if there is no other siblings it must delete the selected node as well as parent node. if parent node has only one child

      that is the selected node's parent it must also delete the super parent node.

       

      i am attaching a screen shot, in that if i select the leaf node it must delete the whole tree since there is no other leaf node.

      how to do this. is there any simple way or methods.

       

      please help