【发布时间】:2011-11-28 10:55:12
【问题描述】:
如何在 ActionScript 中编写以下代码?
<mx:AdvancedDataGrid id="dg" dataProvider="{xc}" width="100%">
<mx:groupedColumns>
<mx:AdvancedDataGridColumn headerText="Type" dataField="rgroup1">
<mx:itemRenderer>
<mx:Component>
<mx:LinkButton label={data.rgroup1}" click="outerDocument.expandCollaps(event)" textDecoration="{data.expand}"/>
</mx:Component>
</mx:itemRenderer>
</mx:AdvancedDataGridColumn >
</mx:groupedColumns>
</mx:AdvancedDataGrid >
【问题讨论】:
-
查看此处techrays.wordpress.com/2008/04/25/… 获取包含代码的博文
-
您尝试了什么,为什么会出现问题?您想知道如何重新创建 itemRenderer 吗?还是 DataGrid?
标签: apache-flex itemrenderer advanceddatagrid