Packageorg.apache.flex.html.supportClasses
Classpublic class DataGridColumn
InheritanceDataGridColumn Inheritance 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
 PropertyDefined 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
 MethodDefined By
  
constructor.
DataGridColumn
Property Detail
columnWidthproperty
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
dataFieldproperty 
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
itemRendererproperty 
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
labelproperty 
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.