To scan all datagrid items, you take the dataprovider, call getCursor(), moveFirst(), and moveNext() (see IViewCursor). After each move the .current property points to another DG item.
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Michel Scoz Sent: Sunday, May 20, 2007 12:17 PM To: [email protected] Subject: [flexcoders] Getting datagrid current data Hi all... I have a datagrid that is populated with a XML... this datagrid has a drag and drop feature and it works fine. But I need to pass through all the datagrid items, get their respective IDs and save this order on a database. I just dont know how to pass through all the datagrid items to get their current order and get those IDs... can anyone give me a little help on how to do this? I've been trying for 2 hours without a clue =( Thank you very much! Michel.

