I may not have understood your issue. Tracy
________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of netdeep Sent: Thursday, September 18, 2008 9:01 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: DataGrid in custom component not updating I'm not sure what 'item' refers to since the entire arraycollection is new. I tried: axis.seriesList.itemUpdated(axis.seriesList.getItemAt(0)); with no success... <mx:DataGrid id="seriesTable" dataProvider="{axis.seriesList}" > --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Tracy Spratt" <[EMAIL PROTECTED]> wrote: > > Call collection.itemUpdated(item) after updating the item. > > Tracy > > > > ________________________________ > > From: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> [mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> ] On > Behalf Of netdeep > Sent: Wednesday, September 17, 2008 3:18 PM > To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> > Subject: [flexcoders] DataGrid in custom component not updating > > > > I have a custom component with a DataGrid in it. The dataprovider is an > actionscript object > (the variable name for this object is axis) with an ArrayCollection > called seriesList. When I do > axis.seriesList.addItem(), the DataGrid updates properly, but when I > simply assign a new axis > object (such as for a load) to my component (even for a brand new > component) with a > seriesList already defined, it does not update at all. How can I get the > DataGrid to update > properly? > > <mx:DataGrid id="seriesTable" dataProvider="{axis.seriesList}" > > <mx:columns> > <!-- columns defined here... --> > </mx:columns> > </mx:DataGrid> >