Flex DataGrid自动编号示例

栏目: 编程语言 · 发布时间: 8年前

内容简介:这篇文章主要介绍了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);
}

以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Traction: A Startup Guide to Getting Customers

Traction: A Startup Guide to Getting Customers

Gabriel Weinberg、Justin Mares / S-curves Publishing / 2014-8-25 / USD 14.99

Most startups end in failure. Almost every failed startup has a product. What failed startups don't have is traction -- real customer growth. This book introduces startup founders and employees to......一起来看看 《Traction: A Startup Guide to Getting Customers》 这本书的介绍吧!

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

URL 编码/解码
URL 编码/解码

URL 编码/解码

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具