I'm a little late to this, so pardon me if my point has been raised 
previously...I've seen the behavior similar to what you're describing and it 
indicated that the ItemRenderer was not correctly written because ItemRenderers 
are recycled when scrolling for performance reasons.  You have to write them to 
ensure that the dataprovider to your combox box is in a state to receive the 
data element passed to it and that the selectedIndex gets reset. This requires 
sub-classing the ComboBox for use as an item renderer of a list-based control.

Jeff
________________________________
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Laurence MacNeill
Sent: Monday, February 08, 2010 3:26 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Custom ItemRenderer still not working...



At 02:57 PM 2/8/2010, you wrote:



What do we do to see the problem, just scroll?

Yeah, if you scroll up and down a few times, you'll see that the numbers in the 
combo-boxes' drop-downs don't match the displayed number.  Then change the 
selection in one of those combo boxes that's displaying the incorrect 
drop-down, and magically, the next time you open the drop-down it displays the 
correct numbers again.  Until the next time you scroll, that is.  :-)

Thanks,




Reply via email to