I have a simple flex datagrid.
I have set dragEnabled = true, dragMoveEnabled=true and dropEnabled=true.
My users can now drag rows up and down to arrange them in the order they like.
I need to save the order they have selected, so I can arrange the rows in this way the next time they login.
How can I loop through the datagrid and get the data element name (e.g. the value of data in dg column1) of each item of data being displayed, in the order that it has been arranged.