Thanks Alex! Found working samples here: http://blogs.adobe.com/aharui/item_renderers/
-David ________________________________ From: Alex Harui <[email protected]> To: "[email protected]" <[email protected]> Sent: Thu, March 4, 2010 12:54:42 AM Subject: Re: [flexcoders] Scrolling datagrid mixes up all the values...??? If you are using a custom renderer, see past threads on recycling renderers. On 3/3/10 10:07 AM, "MonkeyIsland" <sailorsea21@ yahoo.com> wrote: >> >> >> > >>Hello everyone, I'm having an issue with a datagrid. > >>The dataprovider for my datagrid is an arrayCollection of objects >>(objectParentVO) . > >>My objectParentVO has 2 properties: > >>public var id : int; >>public var children : ArrayCollection; //objectChildVO' s > >>My objectChildVO has 5 properties: > >>public var id : int; >>public var name : String; >>public var code : String; >>public var isActive : Boolean; >>public var isDeleted : Boolean; > >>The columns for my datagrid are not mapped to my objectParentVO but to my >>objectChildVO and they are dynamically added by actionscript. > >>When I fill my datagrid's dataprovider, everything displays right but once I >>scroll, all the values get mixed up and I can't tell which object is >>which...???? The funny thing is that the currect objects are always in the >>same place only the display values get mixed up... > >>Can anyone understand why and how this is happening??? > >>Thanks! >>-David > >> >> > > > -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs. adobe.com/ aharui __________________________________________________________________ Connect with friends from any web browser - no download required. Try the new Yahoo! Canada Messenger for the Web BETA at http://ca.messenger.yahoo.com/webmessengerpromo.php

