Paket | mx.controls.dataGridClasses |
Klass | public class DataGridListData |
Arv | DataGridListData BaseListData EventDispatcher Object |
Underklasser | AdvancedDataGridListData |
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
listData
property that is
implemented by drop-in item renderers or drop-in item editors for the DataGrid control.
All drop-in item renderers and drop-in item editors must implement the
IDropInListItemRenderer interface, which defines the listData
property.
Although the properties of this class are writable, you should consider them to be read-only. They are initialized by the DataGrid class, and read by an item renderer or item editor. Changing these values can lead to unexpected results.
Relaterade API-element
Publika egenskaper
Egenskap | Definieras med | ||
---|---|---|---|
columnIndex : int
The index of the column of the List-based control relative
to the currently visible columns of the control, where the first column
is at an index of 1. | BaseListData | ||
constructor : Object
En referens till klassobjektet eller konstruktorfunktionen för en given objektinstans. | Object | ||
dataField : String
Name of the field or property in the data provider associated with the column. | DataGridListData | ||
label : String
The textual representation of the item data, based on the list class's
itemToLabel() method. | BaseListData | ||
owner : IUIComponent
A reference to the list object that owns this item. | BaseListData | ||
rowIndex : int
The index of the row of the DataGrid, List, or Tree control relative
to the currently visible rows of the control, where the first row
is at an index of 1. | BaseListData | ||
uid : String
The unique identifier for this item. | BaseListData |
Publika metoder
Metod | Definieras med | ||
---|---|---|---|
DataGridListData(text:String, dataField:String, columnIndex:int, uid:String, owner:IUIComponent, rowIndex:int = 0)
Constructor. | DataGridListData | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registrerar ett händelseavlyssnarobjekt för ett EventDispatcher-objekt så att avlyssnaren får meddelanden om händelser. | EventDispatcher | ||
Skickar en händelse till händelseflödet. | EventDispatcher | ||
Kontrollerar om EventDispatcher-objektet har några avlyssnare registrerade för en viss typ av händelse. | EventDispatcher | ||
Anger om det finns en egenskap angiven för ett objekt. | Object | ||
Anger om en instans av klassen Object finns i prototypkedjan för objektet som anges som parameter. | Object | ||
Anger om den angivna egenskapen finns och är uppräkningsbar. | Object | ||
Tar bort en avlyssnare från EventDispatcher-objektet. | EventDispatcher | ||
Anger tillgänglighet för en dynamisk egenskap för slingåtgärder. | Object | ||
Returnerar det här objektets strängrepresentation, formaterad i enlighet med språkspecifika konventioner. | Object | ||
Returnerar det angivna objektets strängbeteckning. | Object | ||
Returnerar det angivna objektets primitiva värde. | Object | ||
Kontrollerar om en händelseavlyssnare är registrerad för det här EventDispatcher-objektet eller något av dess överordnade objekt för den angivna händelsetypen. | EventDispatcher |
Egenskapsdetaljer
dataField | egenskap |
public var dataField:String
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Name of the field or property in the data provider associated with the column.
Den här egenskapen kan användas som källan för databindning. När den här egenskapen ändras, skickas händelsen __NoChangeEvent__
.
Konstruktordetaljer
DataGridListData | () | Konstruktor |
public function DataGridListData(text:String, dataField:String, columnIndex:int, uid:String, owner:IUIComponent, rowIndex:int = 0)
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Constructor.
Parametrartext:String — Text representation of the item data.
| |
dataField:String — Name of the field or property
in the data provider associated with the column.
| |
columnIndex:int — The column index of the item in the
columns for the DataGrid control.
| |
uid:String — A unique identifier for the item.
| |
owner:IUIComponent — A reference to the DataGrid control.
| |
rowIndex:int (default = 0 ) — The index of the item in the data provider
for the DataGrid control.
|
Tue Jun 12 2018, 01:40 PM Z