Boy do I feel dumb!
 
 
Thanks
 
- superabe


 
On 1/27/06, Matt Chotin <[EMAIL PROTECTED]> wrote:

Store the value in an instance variable as well as passing it thorugh to the image.  Then in setValue check to see if it's != your stored value and only update the Image source if true.

 

Matt

 


From: [email protected] [mailto:[email protected]] On Behalf Of superabe superabe
Sent: Thursday, January 26, 2006 5:06 PM
To: [email protected]
Subject: [flexcoders] Datagrid Cell Renderer

 

I have a CellRenderer for a DataGrid that creates images dynamically based on a value passed in through the SetValue method of the CellRenderer.

 

The problem is that setValue seems to be called multiple times, like on sort, on select etc, which causes all the images to be recreated, thus casuing a visual flicker in each cell.

 

Is there an alternate way to do this ?

 

TIA
- superabe




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to