Spark List without data provider : List Data « Components « Flex






Spark List without data provider

Spark List without data provider
           

<!--
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\spark\SparkListSimpleNoDP.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">
    <s:layout>
        <s:VerticalLayout />
    </s:layout>
    <s:List>
        <mx:ArrayCollection>
            <fx:String>Flash</fx:String>
            <fx:String>Director</fx:String>
            <fx:String>Dreamweaver</fx:String>
            <fx:String>ColdFusion</fx:String>
        </mx:ArrayCollection>
    </s:List>
</s:Application>

   
    
    
    
    
    
    
    
    
    
    
  








Related examples in the same category

1.Using an ArrayCollection to drive the display of a List componentUsing an ArrayCollection to drive the display of a List component
2.Fill Array of Object into ListFill Array of Object into List
3.Embedded Object Array into ListEmbedded Object Array into List
4.List with string array collectionList with string array collection
5.Bind Array to List and change Array to update the ListBind Array to List and change Array to update the List
6.List With Hard Coded ArrayList With Hard Coded Array
7.Use static string list as data for ListUse static string list as data for List
8.List component that displays icons specified in the dataList component that displays icons specified in the data
9.List with dataProviderList with dataProvider
10.Two List definitions with and without dataProvider tagTwo List definitions with and without dataProvider tag
11.Lists of Complex DataLists of Complex Data
12.List cell editor data fieldList cell editor data field
13.A List control that displays data items represented by String dataA List control that displays data items represented by String data
14.A List control where each data item is represented by an Object with three fieldsA List control where each data item is represented by an Object with three fields
15.List DataProviderList DataProvider
16.HorizontalList DataProviderHorizontalList DataProvider