[flexcoders] Re: How to change an image dynamically in a datagrid

2006-08-11 Thread mcmcbrianfarrell
Jim, Thanks for opening my eyes! At first I was totally baffled by some of the code you responded with as I'm fresh into flex. Took an hour or so before the preverbial penny dropped and in the process I managed to learn something fundamental about code notation, so double whammy. Tx again.

[flexcoders] Re: How to change an image dynamically in a datagrid

2006-08-11 Thread dadrobson
Instead of using an inline itemRenderer, you could build a custom component and drop it in. Inside your component, you could use conditional logic to determine what the value of the source property should be. Something like this: http://www.adobe.com/2006/mxml"; creationComplete="doInit();" >