I am trying to set up a Datagrid that uses a custom cell renderer to display an image based on the value of a property for the object bound to each row of the grid. I have the image working fine, however I can't seem to affect the horizontal alignment of the cell. If I use "textAlign" on the mx:DataGridColumn itself that doesn't work. If I try to wrap the mx:Image in a mx:VBox or mx:Canvas I get this error when the MXML tries to compile:
"There is no property with the name 'source'."
It seems like nesting tags within the cell renderer won't work. I've
inherited this code so I'm not sure if it's the best way of going
about it, but I've attached it below. Thanks to anyone who might be
able to give me a push.
-Cliff
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
StatusImageCellRenderer.mxml
Description: Binary data

