惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

C
Cyber Attacks, Cyber Crime and Cyber Security
The Last Watchdog
The Last Watchdog
Forbes - Security
Forbes - Security
S
Security @ Cisco Blogs
TaoSecurity Blog
TaoSecurity Blog
T
Troy Hunt's Blog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
H
Hacker News: Front Page
W
WeLiveSecurity
WordPress大学
WordPress大学
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
N
News | PayPal Newsroom
D
DataBreaches.Net
博客园_首页
Y
Y Combinator Blog
F
Fortinet All Blogs
罗磊的独立博客
Apple Machine Learning Research
Apple Machine Learning Research
T
Tailwind CSS Blog
Hacker News - Newest:
Hacker News - Newest: "LLM"
Hugging Face - Blog
Hugging Face - Blog
The GitHub Blog
The GitHub Blog
B
Blog RSS Feed
C
CERT Recently Published Vulnerability Notes
P
Privacy & Cybersecurity Law Blog
Help Net Security
Help Net Security
S
SegmentFault 最新的问题
Recorded Future
Recorded Future
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
N
News and Events Feed by Topic
Schneier on Security
Schneier on Security
V
Vulnerabilities – Threatpost
A
About on SuperTechFans
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
L
LangChain Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
GbyAI
GbyAI
L
LINUX DO - 热门话题
Simon Willison's Weblog
Simon Willison's Weblog
雷峰网
雷峰网
G
Google Developers Blog
Cyberwarzone
Cyberwarzone
I
Intezer
Google DeepMind News
Google DeepMind News
AWS News Blog
AWS News Blog
C
Check Point Blog
AI
AI
博客园 - 【当耐特】
有赞技术团队
有赞技术团队
博客园 - 司徒正美

博客园 - 每天都有进步

eclipse安装flex插件 eclipse运行错误 Version 1.3.1_01 of the JVM is not suitable for this product.Version:1.4.1 or greater is required Oracle的临时表 SQL Server CE的安装 ArcGIS Server 9.3安装流程 在新公司工作一个月了 十个故事(从故事中看出创业必备的精神)(转) 回去了 过年回家了 经济周期的四个阶段 出差再出差 都说四川美女多 08年10月30日,到了成都 240多个jQuery插件 (转) 会过去的 又开始上班了 明天放假了 懂了 构造函数,析构函数
[FLEX]自定义格式化DataGrid的列值 (转)
每天都有进步 · 2008-12-16 · via 博客园 - 每天都有进步

<mx:DataGridColumn headerText="正确 " labelFunction="checkIsTrue" dataField="IsTrue"/>

labelFunction指向绑定label时所调用的函数。

ActionScript代码:

 private function checkIsTrue (item:Object,column:DataGridColumn):String{

              if(item. IsTrue =="true") return "正确";

              if(item. IsTrue =="false") return "错误";

              else return "读取出错";

            }

checkIsTrue的参数有两个,一个是当前项“item”,另一个是当前列“column”。通过这样就可以实现跟.NET一样的数据绑定修改了。