No. DG is virtualized. Not all items have renderers. See the item renderers category on my blog for more info and maybe useful examples
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of pixelgeek Sent: Thursday, August 21, 2008 10:57 AM To: [email protected] Subject: [flexcoders] Error styling datagrids I snagged some code online to help me in a project where I need to style the rows of a datagrid. The code creates an array of list items using the listItems property. Sadly this appears to only be a list of the items that are displayed on screen. Even sadder is that even though the code will style a row it styles every nth row in the datagrid where n is the number of items displayed on screen. So if I have a list of 50 items and I style row 2 it also results in rows 12, 22, 32 and 42 being styled. Is there any way to replace listItems in this code so that it returns all of the items and not just the currently displayed items? TIA

