The data provider (ArrayCollection) for my data grid consists of objects with ByteArray (int) fields. How do I make the data field display as int without transforming my data provider?
A:
Not quite sure, but in order to display something like that in datagrid i'd do this:
<mx:itemRenderer>
<mx:Component>
<mx:Label
text="{ ( data.yourByteArray.toString()) }"
textDecoration="none" <!-- other props -->
/>
</mx:Component>
</mx:itemRenderer>
zarko.susnjar
2010-03-31 07:50:31
inside <mx:DataGridColumn> (choped somehow in code part)
zarko.susnjar
2010-03-31 07:52:35
I think that might work with some adjustments. Thank you :)
Random Joe
2010-04-04 17:37:26