You can use ICollectionView, but you'll probably find the IList methods easier (addItem).
Those methods will change the array that is the source of the AC. Re-ordering should require that dragMoveEnabled=true. ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Forsberg Sent: Friday, October 26, 2007 6:30 PM To: [email protected] Subject: [flexcoders] ArrayCollection Question I am dragging/dropping rows from one grid to another. At the drop I will be calling a .cfc to get more information for the second datagrid. I have several questions about the data that I'm adding. 1. To add the data "manually" after I've captured my drop event do I need to use the Icollection? class to put the data into the datagrid? 2. If in-fact I'm using the Icollection class, when I add the data is that change being made in the arrayCollection? The reason that I ask is that once changes are made to the data, either by the automatic insert, or if a user edits a cell, can I then loop over the arrayCollection to insert the changes back into the database? If anyone has any links about doing this I'd be grateful. Also, my second datagrid is both drop and drag enabled. I want users to be able to re-order the items in the datagrid as well as add/edit items. This is a scheduling application. I'll then save those changes to the db. I noticed that when I went to re-order items in the second datagrid I actually made a copy in the new location. The old row remained. Is there a special way to make sure that once I've made the move the old row is removed? I really appreciate the pointing in the right direction. Flex 2 is really slick. I'm just running into some newb wall. Again, thanks. Mark F.

