1 Reply Latest reply on May 10, 2007 8:49 AM by Alexander Belov

    Find node in tree

    Alexander Belov Novice

      I reset data model to update tree from database. I call setValue() method in my action and I want to restore maximum data, which was shown before executing my action.

      The data on the page is connented with selected tree node. How can I know if the last selected node is in tree? I want to iterate througth all node of the tree to find it. I have cached TreeNodeKey, but I can't find method in HtmlTree to look for node. getNode() always returns the current node. If it is already not in data model, I shall get the node. Method getRowData() doen't return anything, because I have reset dataModel.

      Does anybody have any idea? Is the necessary method planned in the future?