Hello Kent, >I ask because I currently have an Array of objects that represent lines in a >DataGrid. When I add an element to that array I am not seeing it in the >datagrid.
One thing to try is using the Dataprovider API rather than Array methods against the DG's Data Provider. Doing this broadcasts events which tell the Flex UI to update itself. Hope this helps, Al Allen Manning Technical Director Prismix Ltd t +44 (0)870 749 1100 f +44 (0)870 749 1200 w http://www.prismix.com/ -----Original Message----- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Kent Henneuse Sent: 20 June 2005 16:35 To: flexcoders@yahoogroups.com Subject: [flexcoders] Cairngorm Store missing link? Ok it is a missing link in my brain and not a link that is missing. I am confused how the dataProvider on line 58 of ShoppingCart.mxml gets linked to the one in the ModelLocator? It appears as if everything is done by manipulating the ShoppingCart object that is in the ModelLocator and some how it is getting changed in the View. I ask because I currently have an Array of objects that represent lines in a DataGrid. When I add an element to that array I am not seeing it in the datagrid. I figure that it has something to do with the redrawing of the component. I looked at the Cairngorm Store as an example because it is very similar to what I am trying. Anxiously awaiting the next Blog installments on the Cairngorm store, -Kent "Black holes are where God divided by zero." - Steven Wright Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/