You need to override the 'data' member in your itemRenderer. Here are a couple of really good blog posts that cover this:
http://www.returnundefined.com/2006/10/item-renderers-in-datagrids-a-pri mer-for-predictable-behavior http://www.returnundefined.com/2006/11/creating-truly-reusable-renderers Jeff -----Original Message----- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of vigen2000 Sent: Wednesday, December 06, 2006 6:10 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] TileList itemRenderer not changing when dataProvider change (cairngorm) Hi people, i hope u can help me on this one... i have a ModelLocator that holds an object with ArrayCollection. i also have a TileList that gets the ArrayCollection of that object through DataBinding. Now, when i change the Object in the ModelLocator none of the custom itemRenderer in the TileList do not change. they still show the old data. any idea? some code: -------StoreVO.as-------- [Bindable] public class StoreVO implements IValueObject{ [ArrayElementType("Product")] public var products:ArrayCollection = new ArrayCollection(); } ------ModelLocator.as----------- [Bindable] public class ModelLocator implements ModelLocator{ public var store:StoreVO; } ------Main.mxml--------- .... <mx:TileList dataProvider="{ModelLocator.getInstance().store.products}" itemRenderer="ProductView" /> -----ProductView.mxml-------- ... <mx:Label text="{data.name}" /> //i get warning - Data binding will not be able to detect assignments to "data" -- 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