How to get selected items Drag & drop component ?

Posted by Thirst for Excellence on Stack Overflow See other posts from Stack Overflow or by Thirst for Excellence
Published on 2009-12-02T11:36:42Z Indexed on 2010/12/24 23:53 UTC
Read the original article Hit count: 143

Filed under:
How to get all the selected items from in this below  code selectedContsList ?
<mx:DataGrid id="dg" dataProvider="{cNumbersList}"  allowMultipleSelection="true" dropEnabled="true" dragMoveEnabled="true" >
    <mx:columns>
    <mx:DataGridColumn dataField="contactName" headerText="Name"/>
 <mx:DataGridColumn dataField="contactNo" eaderText="ContactNo"/>	            
    </mx:columns>

    <mx:Label text="Selected Contacts :"  width="122" color="#C90855" height="16"/>
<mx:DataGrid id="selectedContsList"  allowMultipleSelection="true"  dragMoveEnabled="true" dragEnabled="true" >
         <mx:columns>
         <mx:DataGridColumn dataField="contactName" headerText="Name"/>
         <mx:DataGridColumn dataField="contactNo" headerText="ContactNo"/>	            
         </mx:columns>
</mx:DataGrid>

© Stack Overflow or respective owner

Related posts about flex