Check the archives. This question has been already asked several times.

On 7/23/06, Daniel Haensse <[EMAIL PROTECTED]> wrote:
Dear list,

I implemented some simple code that rebuilds my tree if necessary
(serverside). Now I would like to expand all nodes, that were previously
expanded before the rebuild. Any idea how this could be done?

Function that rebuilds the tree:

        private void rebuildTreeData() {
           // Invalidate and rebuild tree
           this.treeModel=null;
           this.htmlTree = new HtmlTree();
           this.selectedNode=null;
           // getTreeData rebuilds the tree from scratch
           getTreeData();
        }

Any hints are appreciated.

best regards

Dani


Reply via email to