0 Replies Latest reply on Jun 27, 2007 6:48 PM by Patrick Madden

    Is there a way to clear selection in Tree

    Patrick Madden Newbie


      I am mimicking collapse/expand when user select's non-leaf nodes in my tree. I'm listening to selection events in my bean whereupon I get the selected node and queue a collapse or expand event depending on the state. However, if I click on the same node twice in a row the select event only gets fired once. I looked into the TreeState class and if doesn't do anything if the node you select is already selected.

      Therefore after I do my thing, I'd like to de-select all nodes in the tree? Is this possible?

      Thanks in advance.