Bob*_*ell 6 apache-flex datagrid background row colors
我需要以编程方式更改Flex中数据网格中单行的背景颜色.我搜索了网络并发现了对"dg.setPropertiesAt"的引用,这不是一种受支持的方法(根据编译器).此外,有建议扩展dg的"drawRowBackground"方法,但我需要在外部设置背景(而不是从dg中的逻辑).
任何和所有建议欢迎.
TIA,鲍勃
Sti*_*ler 6
您必须使用itemRenderer才能完成此操作.有关更多信息,请参阅以下示例:
http://butterfliesandbugs.wordpress.com/2007/07/11/using-an-itemrenderer-to-change-the-background-of-a-datagrid-cell/
http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&postId=61&productId=2
归档时间:
16 年,10 月 前
查看次数:
39247 次
最近记录:
12 年,4 月 前