Flex中List控件增加一条数据项后让其自身的scroller滚到最底部
首先mxml布局:
private function _scrollerToEnd():void{cartList.validateNow();verticalLayout.verticalScrollPosition=cartList.dataGroup.contentHeight-cartList.height;}