DataGrid data with Simple Attributes : DataGrid Data « Grid « Flex






DataGrid data with Simple Attributes

DataGrid data with Simple Attributes
       
<!--
Code from Flex 4 Documentation "Using Adobe Flex 4".

This user guide is licensed for use under the terms of the Creative Commons Attribution 
Non-Commercial 3.0 License. 

This License allows users to copy, distribute, and transmit the user guide for noncommercial 
purposes only so long as 
  (1) proper attribution to Adobe is given as the owner of the user guide; and 
  (2) any reuse or distribution of the user guide contains a notice that use of the user guide is governed by these terms. 
The best way to provide notice is to include the following link. 
To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/3.0/

-->



    <!-- dpcontrols/DataGridSimpleAttributes.mxml -->
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
    xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx">
    <mx:DataGrid>
        <mx:ArrayList>
            <fx:Object Artist="Pavement" Album="Slanted and Enchanted"
                Price="11.99" />
            <fx:Object Artist="Pavement" Album="Brighten the Corners"
                Price="11.99" />
        </mx:ArrayList>
    </mx:DataGrid>
</s:Application>

   
    
    
    
    
    
    
  








Related examples in the same category

1.Get data from DataGrid in drag enter eventGet data from DataGrid in drag enter event
2.Fill data from DataGrid to Form fieldsFill data from DataGrid to Form fields
3.Update data in DataGrid from Form fieldsUpdate data in DataGrid from Form fields
4.ArrayCollection used as the data source for DataGridArrayCollection used as the data source for DataGrid
5.Inline data provider for DataGridInline data provider for DataGrid
6.Passing data to a DataGrid controlPassing data to a DataGrid control
7.Get data from selected row in DataGridGet data from selected row in DataGrid
8.Get DataGrid data providerGet DataGrid data provider
9.Remove data from DataGridRemove data from DataGrid
10.Get the returning data from Php and feed it into DataGridGet the returning data from Php and feed it into DataGrid
11.Update Chart data as DataGrid being updatedUpdate Chart data as DataGrid being updated
12.Modifying data in a DataGrid controlThe following example lets you add, remove, or modify data in a DataGrid controlModifying data in a DataGrid controlThe following example lets you add, remove, or modify data in a DataGrid control
13.DataGrid and DataGrid and <mx:ArrayCollection>
14.DataGrid with object array collectionDataGrid with object array collection
15.Define array with Array collection in ActionScript and use it for DataGridDefine array with Array collection in ActionScript and use it for DataGrid