dallasweb Tue, 02 Jan 2007 11:32:00 -0800
This works for me:
//close all nodes myTree.expandChildrenOf(myTree.dataProvider.getItemAt(0),false);