Drag and move between DataGrid
<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:DataGrid dragEnabled="true" dragMoveEnabled="true"> <mx:columns> <mx:DataGridColumn headerText="From" dataField="from"/> <mx:DataGridColumn headerText="To" dataField="to"/> <mx:DataGridColumn headerText="Subject" dataField="subject"/> <mx:DataGridColumn headerText="Date" dataField="date"/> </mx:columns> <mx:dataProvider> <mx:ArrayCollection> <mx:Object emailId="0" from="a@a.com" to="joey@p.com" subject="a" date="10/1/2010" /> </mx:ArrayCollection> </mx:dataProvider> </mx:DataGrid> <mx:DataGrid dropEnabled="true"> <mx:columns> <mx:DataGridColumn headerText="From" dataField="from"/> <mx:DataGridColumn headerText="To" dataField="to"/> <mx:DataGridColumn headerText="Subject" dataField="subject"/> <mx:DataGridColumn headerText="Date" dataField="date"/> </mx:columns> </mx:DataGrid> </mx:Application>