2008年4月2日
摘要: ArrayCollection排序的例子var ac:ArrayCollection = new ArrayCollection();//先加入几条测试数据ac.addItem( {ID:0,userName:AAA}, {ID:1,userName:CCC}, {ID:2,userName:BBB});//定义Sort对象var sort:Sort = new Sort();//默认是按照升序排序的sort.fields = [new SortField("userName")];//如果按照降序排序,需要修改一下//sort.fields = [new SortFiel 阅读全文
posted @ 2008-04-02 18:20 libran 阅读(173) 评论(0) 推荐(0) 编辑