开发者

Flex: arrayCollection inside another ArrayCollection?

开发者 https://www.devze.com 2022-12-27 18:38 出处:网络
can I create an ArrayCollection into another ArrayCollectionon in Flex ? (or just an array.. or a list if I ca开发者_开发问答nnot)

can I create an ArrayCollection into another ArrayCollectionon in Flex ?

(or just an array.. or a list if I ca开发者_开发问答nnot)

thanks


Yes, there is no reason why you couldn't do it.

        var array:ArrayCollection = new ArrayCollection();
        var childArray:ArrayCollection = new ArrayCollection();
        childArray.addItem("test");
        array.addItem(childArray);
0

精彩评论

暂无评论...
验证码 换一张
取 消