renderers get recycled and must therefore respond to dataChange events
instead of creationComplete or any other lifecycle event.

________________________________

From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of utbrain
Sent: Monday, December 17, 2007 1:35 PM
To: [email protected]
Subject: [flexcomponents] ItemRenderer, Datagrid and sorting



We have added an itemRenderer to a datagrid that loads .png files that 
are associated to the column data.

The column in the DG is a rating system (x out of 10, but is expressed 
as only X). Then a .png that is associated to that rating is also 
loaded. So, for example, a 10 would get a smiley face .png image.

But when you sort the column, the data reorganizes, but the .png files 
do not. They stay in the same position.

What are we missing?



 

Reply via email to