The item renderer is "off" during the sort.  When the sort finishes, it
will then try to get the renderers to display the new sort order just
for the visible renderers.  If you've written the coloring logic
correctly it should just work with little or no performance degradation.
 
The fact that the app locks up implies that either the sort is taking a
really long time, or the renderer coloring logic is either too slow or
causing extra work to be done which can result in an invalidation loop
where the list is constantly redrawing itself.
 
You can post the relevant coloring logic if you want.
 
-Alex

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of fidelityphil
Sent: Friday, May 11, 2007 11:25 AM
To: [email protected]
Subject: [flexcoders] Changing Row's font color



I am using an in-stream itemRenderer to change the color of a font all 
across a row if a certain value shows up in one of the row's cells. 
That works fine, but then if I click on one of the headings to sort a 
column - the titles go blank and the application locks up. Is there a 
way to turn off the itemrenderer for the duration of a sort and then 
turn it back on? And will that keep the colored font in the correct 
row after the sort?



 

Reply via email to