Flex tree默认展开第一项和所有项
在页面组件完成后开发做动作:
protected function application1_applicationCompleteHandler(event:FlexEvent):void{ for each(var item:XML in this.managerTree.dataProvider)this.managerTree.expandChildrenOf(item,true); }发布时间: 2013-02-04 10:50:22 作者: rapoo
Flex tree默认展开第一项和所有项
在页面组件完成后开发做动作:
protected function application1_applicationCompleteHandler(event:FlexEvent):void{ for each(var item:XML in this.managerTree.dataProvider)this.managerTree.expandChildrenOf(item,true); }