【发布时间】:2010-03-25 19:06:37
【问题描述】:
我的数据网格的数据提供程序 (ArrayCollection) 由具有 ByteArray (int) 字段的对象组成。如何在不转换数据提供者的情况下使数据字段显示为 int?
【问题讨论】:
标签: apache-flex datagrid bytearray
我的数据网格的数据提供程序 (ArrayCollection) 由具有 ByteArray (int) 字段的对象组成。如何在不转换数据提供者的情况下使数据字段显示为 int?
【问题讨论】:
标签: apache-flex datagrid bytearray
不太确定,但为了在数据网格中显示类似的内容,我会这样做:
<mx:itemRenderer>
<mx:Component>
<mx:Label
text="{ ( data.yourByteArray.toString()) }"
textDecoration="none" <!-- other props -->
/>
</mx:Component>
</mx:itemRenderer>
【讨论】: