套件 | mx.controls.advancedDataGridClasses |
類別 | public class AdvancedDataGridHeaderInfo |
繼承 | AdvancedDataGridHeaderInfo Object |
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
屬性 | 定義自 | ||
---|---|---|---|
actualColNum : int
The actual column index at which the header starts,
relative to the currently displayed columns. | AdvancedDataGridHeaderInfo | ||
children : Array
An Array of all of the child AdvancedDataGridHeaderInfo instances
of this AdvancedDataGridHeaderInfo instance,
if this column is part of a column group. | AdvancedDataGridHeaderInfo | ||
column : AdvancedDataGridColumn
A reference to the AdvancedDataGridColumn instance
corresponding to this AdvancedDataGridHeaderInfo instance. | AdvancedDataGridHeaderInfo | ||
columnSpan : int
Number of actual columns spanned by the column header when using column groups. | AdvancedDataGridHeaderInfo | ||
constructor : Object
類別物件的參照或是特定物件實體的建構函數。 | Object | ||
depth : int
The depth of this AdvancedDataGridHeaderInfo instance
in the columns hierarchy of the AdvancedDataGrid control,
if this column is part of a column group. | AdvancedDataGridHeaderInfo | ||
headerItem : IListItemRenderer
A reference to IListItemRenderer instance used to render the column header. | AdvancedDataGridHeaderInfo | ||
index : int
The index of this AdvancedDataGridHeaderInfo instance
in the AdvancedDataGrid control. | AdvancedDataGridHeaderInfo | ||
internalLabelFunction : Function
A function that gets created if the
column grouping requires extracting data from nested objects. | AdvancedDataGridHeaderInfo | ||
parent : AdvancedDataGridHeaderInfo
The parent AdvancedDataGridHeaderInfo instance
of this AdvancedDataGridHeaderInfo instance
if this column is part of a column group. | AdvancedDataGridHeaderInfo | ||
visible : Boolean
Contains true if the column is currently visible. | AdvancedDataGridHeaderInfo | ||
visibleChildren : Array
An Array of the currently visible child AdvancedDataGridHeaderInfo instances. | AdvancedDataGridHeaderInfo | ||
visibleIndex : int
The index of this column in the list of visible children of its parent
AdvancedDataGridHeaderInfo instance,
if this column is part of a column group. | AdvancedDataGridHeaderInfo |
方法 | 定義自 | ||
---|---|---|---|
AdvancedDataGridHeaderInfo(column:AdvancedDataGridColumn, parent:AdvancedDataGridHeaderInfo, index:int, depth:int, children:Array = null, internalLabelFunction:Function = null, headerItem:IListItemRenderer = null)
Constructor. | AdvancedDataGridHeaderInfo | ||
指出物件是否有已定義的指定屬性。 | Object | ||
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | ||
指出指定的屬性是否存在,以及是否可列舉。 | Object | ||
為迴圈作業設定動態屬性的可用性。 | Object | ||
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | ||
會傳回指定之物件的字串形式。 | Object | ||
會傳回指定之物件的基本值。 | Object |
actualColNum | 屬性 |
public var actualColNum:int
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
The actual column index at which the header starts, relative to the currently displayed columns.
children | 屬性 |
public var children:Array
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
An Array of all of the child AdvancedDataGridHeaderInfo instances of this AdvancedDataGridHeaderInfo instance, if this column is part of a column group.
column | 屬性 |
public var column:AdvancedDataGridColumn
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
A reference to the AdvancedDataGridColumn instance corresponding to this AdvancedDataGridHeaderInfo instance.
columnSpan | 屬性 |
public var columnSpan:int
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Number of actual columns spanned by the column header when using column groups.
depth | 屬性 |
public var depth:int
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
The depth of this AdvancedDataGridHeaderInfo instance in the columns hierarchy of the AdvancedDataGrid control, if this column is part of a column group.
headerItem | 屬性 |
public var headerItem:IListItemRenderer
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
A reference to IListItemRenderer instance used to render the column header.
index | 屬性 |
public var index:int
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
The index of this AdvancedDataGridHeaderInfo instance in the AdvancedDataGrid control.
internalLabelFunction | 屬性 |
public var internalLabelFunction:Function
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
A function that gets created if the column grouping requires extracting data from nested objects.
For example, if each data row appears as:
row = {.., .., Q1: { y2005: 241, y2006:353}};
and you define a column group as:
<mx:AdvancedDataGridColumnGroup dataField="Q1"> <mx:AdvancedDataGridColumn dataField="y2005"> <mx:AdvancedDataGridColumn dataField="y2006"> </mx:AdvancedDataGridColumnGroup>
The function for the column corresponding to y2005 is defined as:
function foo():String { return row["Q1"]["2005"]; }
The function also handles the case when any of the column or column groups uses a label function instead of a data field.
parent | 屬性 |
public var parent:AdvancedDataGridHeaderInfo
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
The parent AdvancedDataGridHeaderInfo instance of this AdvancedDataGridHeaderInfo instance if this column is part of a column group.
預設值為 null。
visible | 屬性 |
public var visible:Boolean
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Contains true
if the column is currently visible.
visibleChildren | 屬性 |
public var visibleChildren:Array
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
An Array of the currently visible child AdvancedDataGridHeaderInfo instances. if this column is part of a column group.
visibleIndex | 屬性 |
public var visibleIndex:int
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
The index of this column in the list of visible children of its parent AdvancedDataGridHeaderInfo instance, if this column is part of a column group.
AdvancedDataGridHeaderInfo | () | 建構函式 |
public function AdvancedDataGridHeaderInfo(column:AdvancedDataGridColumn, parent:AdvancedDataGridHeaderInfo, index:int, depth:int, children:Array = null, internalLabelFunction:Function = null, headerItem:IListItemRenderer = null)
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Constructor.
參數column:AdvancedDataGridColumn — A reference to the AdvancedDataGridColumn instance
that this AdvancedDataGridHeaderInfo instance corresponds to.
| |
parent:AdvancedDataGridHeaderInfo — The parent AdvancedDataGridHeaderInfo instance
of this AdvancedDataGridHeaderInfo instance.
| |
index:int — The index of this AdvancedDataGridHeaderInfo instance
in the AdvancedDataGrid control.
| |
depth:int — The depth of this AdvancedDataGridHeaderInfo instance
in the columns hierarchy of the AdvancedDataGrid control.
| |
children:Array (default = null ) — An Array of all of the child AdvancedDataGridHeaderInfo instances
of this AdvancedDataGridHeaderInfo instance.
| |
internalLabelFunction:Function (default = null ) — A function that gets created if the column grouping
requires extracting data from nested objects.
| |
headerItem:IListItemRenderer (default = null ) — A reference to IListItemRenderer instance used to
render the column header.
|
Tue Jun 12 2018, 03:47 PM Z