小编jto*_*nce的帖子

使用ArrayCollection中的数据填充树

假设我有一个像这样的ArrayCollection:

        public var ac:ArrayCollection= new ArrayCollection([
            {item:"dog", group:"Animals"},
            {item:"orange", group:"Fruits"}, 
            {item:"cat", group:"Animals"},
            {item:"apple", group:"Fruits"}
            ]);
Run Code Online (Sandbox Code Playgroud)

如何在Flex 3中创建使用组作为节点的树组件,并在每个节点下列出相应的项?

apache-flex tree components actionscript actionscript-3

5
推荐指数
1
解决办法
2万
查看次数