<mx:DataGridColumn headerText="序号" labelFunction="lfRowNum" />
//dg自动编号 private function lfRowNum(oItem:Object,iCol:int):String { var iIndex:int = statistidgCla.dataProvider.getItemIndex(oItem) + 1; return String(iIndex); }
更多flex datagrid自动编号示例相关文章请关注php中文网!
Copyright 2014-2024 //m.sbmmt.com/ All Rights Reserved | php.cn | 湘ICP备2023035733号