Apache Flex (FlexJS) 0.7.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
DataGridColumn

Package | org.apache.flex.html.supportClasses
Class | public class DataGridColumn
Inheritance | DataGridColumn Object

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The DataGridColumn class is the collection of properties that describe a column of the org.apache.flex.html.DataGrid: which renderer to use for each cell in the column, the width of the column, the label for the column, and the name of the field in the data containing the value to display in the column.

Public Properties

| Property | Defined By
--- | --- | ---
|  | columnWidth : Number The width of the column (default is 100 pixels). | DataGridColumn
|  | dataField : String The name of the field containing the data value presented by the column. | DataGridColumn
|  | itemRenderer : IFactory The itemRenderer class or factory to use to make instances of itemRenderers for display of data. | DataGridColumn
|  | label : String The label for the column (appears in the header area). | DataGridColumn

Public Methods

| Method | Defined By
--- | --- | ---
|  | DataGridColumn() constructor. | DataGridColumn

Property Detail

columnWidth | property

`columnWidth:Number`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The width of the column (default is 100 pixels).

Implementation
`public function get columnWidth():Number`
`public function set columnWidth(value:Number):void`

dataField | property |

`dataField:String`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The name of the field containing the data value presented by the column. This value is used by the itemRenderer is select the property from the data.

Implementation
`public function get dataField():String`
`public function set dataField(value:String):void`

itemRenderer | property |

`itemRenderer:IFactory`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The itemRenderer class or factory to use to make instances of itemRenderers for display of data.

Implementation
`public function get itemRenderer():IFactory`
`public function set itemRenderer(value:IFactory):void`

label | property |

`label:String`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The label for the column (appears in the header area).

Implementation
`public function get label():String`
`public function set label(value:String):void`
Constructor Detail

DataGridColumn | () | Constructor

`public function DataGridColumn()`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

constructor.

Mon Sep 5 2016, 07:19 AM -07:00