0 Replies Latest reply on Nov 20, 2007 11:44 AM by Joel Meurisse

    select a child leaf in a tree when selecting a node

    Joel Meurisse Newbie

      In our application, clicking on a node (not a leaf) should expand the node (if not yet expanded), and select the first child (which is always a leaf).

      We know when it is a node or a leaf because they are of a different type.

      I used a nodeSelectListener to expand the node using tree.queueNodeExpand(rowKey), but I don't find a way to select a child.

      How can I select a child leaf of a tree node?