Merged array list example on my blog From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of jmfillman Sent: Wednesday, January 07, 2009 3:54 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Modify arrayCollection Structure
Is there a good way to add a "column" of data to an arrayCollection? For example, I have an arrayCollection with the following data "columns" as received from my remoteObject call: id, firstName, lastName, phoneNumber I need to add an extra "column" for use in my app: id, firstName, lastName, phoneNumber, date I don't need the last field saved in my database, but I haven't found a good way to add this extra "column" to the arrayCollection short of creating the extra field in the database and passing it back to my app with the query results. This seems unnecessary to have a "dummy" field in my database. I could probably loop through the results and add them to another arrayCollection with my needed structure, but from a performance standpoint in my app, that's a less desirable option than just using the "dummy" field. Are there other options? JF