Drag And Drop List Sample : List Drag Drop « Components « Flex

Home
Flex
1.Chart
2.Components
3.Container
4.Data Model
5.Development
6.Effects
7.Event
8.Graphics
9.Grid
10.Style
Flex » Components » List Drag DropScreenshots 
Drag And Drop List Sample
Drag And Drop List Sample
           

<?xml version="1.0" encoding="utf-8"?>
<mx:Application layout="absolute" 
  xmlns:mx="http://www.adobe.com/2006/mxml" 
  width="450" height="350" 
  creationComplete="initApp();"
  backgroundColor="#FFFFFF">
  <mx:Script>
    
    private function initApp():void{
      words.dataProvider = ['A''B''C''D''E''F'];        
      english.dataProvider = [];
      spanish.dataProvider = [];
    }
  
  </mx:Script>
  <mx:HBox x="0" y="0" width="450" height="350">
    <mx:List id="words" allowMultipleSelection="true" dragEnabled="true" y="25" x="7"/>
    <mx:List id="english" dropEnabled="true" y="25" x="223"/>
    <mx:List id="spanish" dropEnabled="true" y="177" x="223"/>
  </mx:HBox>
</mx:Application>

   
    
    
    
    
    
    
    
    
    
    
  
Related examples in the same category
1.Dragging and dropping among three List componentsDragging and dropping among three List components
2.Drag-and-drop lets you move items from one List control to anotherDrag-and-drop lets you move items from one List control to another
3.Drag drop to copy between two ListsDrag drop to copy between two Lists
4.List dropEnabled="true" ,dragMoveEnabled="true"List dropEnabled=
5.Drag and Drop Within a ListDrag and Drop Within a List
6.Drag and Drop Between ListsDrag and Drop Between Lists
7.Drag-and-drop to move items from one MX List control to anotherDrag-and-drop to move items from one MX List control to another
8.Drag and drop to item in List To another ListDrag and drop to item in List To another List
9.List To List Drag and DropList To List Drag and Drop
w__w_w.j_a__v__a___2___s__.___c__o__m | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.