Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个部分填充的树组件,当用户展开(而不是当他选择)节点以检索它的叶子时,我必须调用远程服务。我怎么知道女巫节点已被选中。
我正在使用 Flex 3.3。
我已经这样解决了:
//桂
<mx:Tree id="tree" itemOpening="retriveLeafs(event)"/>
// 逻辑
public function retriveLeafs(event:TreeEvent):void { var vo:MyCustomVO = event.item as MyCustomVO; //... }