FooterAdvancedDataGrid
来源:互联网 发布:windows ping命令参数 编辑:程序博客网 时间:2024/05/21 05:43
<adg:FooterAdvancedDataGridColumnheaderText="Price" dataField="price" > <mx:AdvancedDataGridColumnlabelFunction="averageFunctionADG" dataField="price"/> </adg:FooterAdvancedDataGridColumn>
protected var footerHeight:int= 22;
override protected functionadjustListContent(unscaledWidth:Number = -1,unscaledHeight:Number = -1):void{
super.adjustListContent(unscaledWidth,unscaledHeight);
listContent.setActualSize(listContent.width,listContent.height - footerHeight);
footer.setActualSize(listContent.width,footerHeight);
footer.move(listContent.x,listContent.y + listContent.height + 1);
}