【发布时间】:2015-11-29 03:12:18
【问题描述】:
我的系统中有<mx:DataGrid>,如下所示。
<mx:DataGrid id="testDG">
<mx:columns>
<mx:DataGridColumn headerText="name" dataField="name">
<mx:DataGridColumn headerText="measure" dataField="measure">
</mx:columns>
</mx:DataGrid>
它有两列,name 和 measure。我想添加其他数量的列,它是数据网格中相对于measure 的数据。
所以,它看起来像:
name measure 1-Aug 2-Aug 3-Aug ...
abc ggggg 20 22 24 ...
xyz fffff 21 19 20 ...
pqr hhhhh 30 21 13 ...
... ... ... ... ...
我想动态添加date 明智的结果,后跟measure 列。
那么,有可能吗?如何在 Flex 中的度量之后添加动态列?
【问题讨论】:
标签: actionscript-3 apache-flex datagrid actionscript