内容简介:这篇文章主要介绍了Flex DataGrid如何自动编号,感兴趣的朋友可以参考下
复制代码 代码如下:
<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);
}
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
The Mechanics of Web Handling
David R. Roisum
This unique book covers many aspects of web handling for manufacturing, converting, and printing. The book is applicable to any web including paper, film, foil, nonwovens, and textiles. The Mech......一起来看看 《The Mechanics of Web Handling》 这本书的介绍吧!