Enabling the user to move many items at once : DataGrid « Grid « 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 » Grid » DataGridScreenshots 
Enabling the user to move many items at once
Enabling the user to move many items at once
          
<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
    backgroundColor="white">
    <mx:Script>
        
        import mx.collections.ArrayCollection;
        [Bindable]
        public var myAC:ArrayCollection = new ArrayCollection([
            {name:"A", email:"j@domain.com",url:"http://www.f.com"},
            {name:"B", email:"t@domain.com",url:"http://www.d.com"},
            {name:"C", email:"a@domain.com",url:"http://www.a.com"},
            {name:"D", email:"f@domain.com",url:"http://www.g.com"},
            {name:"E", email:"f@domain.com",url:"http://www.w.com"}
        ]);
      
    </mx:Script>
    <mx:DataGrid id="dgSource" dataProvider="{myAC}" dragEnabled="true"
        dragMoveEnabled="true" allowMultipleSelection="true">
        <mx:columns>
            <mx:DataGridColumn dataField="name" headerText="Contact Name" width="300" />
            <mx:DataGridColumn dataField="email" headerText="E-Mail" width="200" />
            <mx:DataGridColumn dataField="url" headerText="URL" width="200" />
        </mx:columns>
    </mx:DataGrid>
</mx:Application>

   
    
    
    
    
    
    
    
    
    
  
Related examples in the same category
1.Scroll DataGridScroll DataGrid
2.Set selected index for DataGridSet selected index for DataGrid
3.Variable row heightsVariable row heights
4.Multi-line data grid rowMulti-line data grid row
5.variable scope for DataGridvariable scope for DataGrid
6.Creating inline item renderer and editorCreating inline item renderer and editor
7.Using a DataGridUsing a DataGrid
8.Formatting grid lines with CSSFormatting grid lines with CSS
9.Set editing position for DataGridSet editing position for DataGrid
10.Append new value to DataGrid from Form fieldsAppend new value to DataGrid from Form fields
11.Item click event for DataGridItem click event for DataGrid
12.Editable DataGridEditable DataGrid
13.Variable row height DataGridVariable row height DataGrid
14.DataGrid change eventDataGrid change event
15.Use Panel to layout controls and hold DataGridUse Panel to layout controls and hold DataGrid
16.DataGrids take a dataProvider to populate themDataGrids take a dataProvider to populate them
17.Default setting for DataGridDefault setting for DataGrid
18.Call HTTP server and set result to DataGrid
19.Binding XML to DataGridBinding XML to DataGrid
20.DataGrid Configuration through ActionScriptDataGrid Configuration through ActionScript
21.DataGrid Validate NowDataGrid Validate Now
22.DataGrid Validate Now Selected indexDataGrid Validate Now Selected index
23.DataGrid with static string valuesDataGrid with static string values
24.DataGrid DataDataGrid Data
25.DataGrid EventsDataGrid Events
26.Sort a DataGridSort a DataGrid
27.Inline DataGrid Image ScopeInline DataGrid Image Scope
28.Print DataGrid outPrint DataGrid out
29.data provider contains fields for an artist, album name, and price.data provider contains fields for an artist, album name, and price.
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.