Packagecom.elfgrid.columns
Classpublic class ElfDateColumn
InheritanceElfDateColumn Inheritance ElfColumnBase Inheritance com.nbilyk.display.CSSComponent
ImplementsIElfGridColumn



Public Properties
 PropertyDefined by
 InheritedcellFactory : IFactory
The cell factory is responsible for creating the cells.
ElfColumnBase
 InheriteddataField : String
The name of the field with which to populate the column's data.
ElfColumnBase
  dateFieldEditable : Boolean = true
ElfDateColumn
  dateFormatter : DateFormatter
ElfDateColumn
 Inheritededitable : Boolean
If true, items in this column can be edited.
ElfColumnBase
 InheritededitorFactory : IFactory
The cell factory is responsible for creating editor cells.
ElfColumnBase
 InheritedenterCommitsCell : Boolean
This property determines if the enter key will commit the current value in an edited cell and move to the next cell below the current.
ElfColumnBase
  formatString : String
ElfDateColumn
 InheritedheaderCellFactory : IFactory
The header cell factory is responsible for creating the header cells.
ElfColumnBase
 InheritedheaderData : Object
The data to be given to the header cell.
ElfColumnBase
 InheritedheaderText : String
The text to be given to the header cell.
ElfColumnBase
 InheritedheaderTip : String
If headerTip is set, a toolTip is provided on the header cell to this value.
ElfColumnBase
 InheritedlabelFunction : Function
labelFunction follows the signature: labelFunction(rowData:Object, column:IElfGridColumn):String
ElfColumnBase
 InheritedmaxWidth : Number
The maximum width of the column.
ElfColumnBase
 InheritedminRowHeight : Number
The minimum row height of item renderers from this column.
ElfColumnBase
 InheritedminWidth : Number
The minimum width of the column.
ElfColumnBase
 Inheritedmovable : Boolean
Whether or not this column can be moved by the user.
ElfColumnBase
 Inheritedmultiline : Boolean
If true, the Text created for cellItem will be multiline.
ElfColumnBase
 InheritedmultilineHeader : Boolean
Whether or not the header label is multiline.
ElfColumnBase
 InheritedpercentWidth : Number
The percent width of this column.
ElfColumnBase
 InheritedpreventCellChange : Boolean
Whether or not to prevent the tab key and arrow keys to change the selected cell.
ElfColumnBase
  required : Boolean = false
ElfDateColumn
 Inheritedresizable : Boolean
Whether or not this column can be resized by the user.
ElfColumnBase
 Inheritedselectable : Boolean
If true, this column can be selected.
ElfColumnBase
 InheritedselectableHeaderText : Boolean
If true, the text in the header can be selected.
ElfColumnBase
 InheritedselectableText : Boolean
If true, the text can be selected.
ElfColumnBase
 Inheritedsortable : Boolean
Whether or not this column can be sorted by the user.
ElfColumnBase
 InheritedsortCaseInsensitive : Boolean
ElfColumnBase
 InheritedsortCompareFunction : Function
ElfColumnBase
 InheritedsortDescending : Boolean
If true, when the column is first sorted, instead of being sorted ascending (lowest value at the top, highest value on the bottom), the column is sorted descending.
ElfColumnBase
 InheritedsortField : String
The name of the property that sorting this column uses for comparison.
ElfColumnBase
 InheritedsortNumeric : Object
ElfColumnBase
 InheritedtipField : String
If you wish for a tool tip on the cell, set either tipField or tipFunction
ElfColumnBase
 InheritedtipFunction : Function
If you wish for a tool tip on the cell, set either tipField or tipFunction tipFunction follows the signature: tipFunction(rowData:Object, column:IElfGridColumn):String
ElfColumnBase
 InheritedtoolTip : String
If set, this writes the tipFunction to be just a method that always returns toolTip.
ElfColumnBase
 InheritedtruncateToFit : Boolean
If true, text that doesn't fit in a cell will be truncated with a ...
ElfColumnBase
 InheritedtruncateToFitHeader : Boolean = true
If true, text that doesn't fit in the header cell will be truncated with a ...
ElfColumnBase
 Inheritedvisible : Boolean
ElfColumnBase
 Inheritedwidth : Number
The width of the column.
ElfColumnBase
Public Methods
 MethodDefined by
  
ElfDateColumn
  
commitValueFunction(rowData:Object, cellItem:IListItemRenderer):Boolean
ElfDateColumn
 Inherited
createSortField():SortField
When the grid is sorted by this column, this SortField gets used in sorting the grid.
ElfColumnBase
 Inherited
getToolTip(rowData:Object):String
Returns a tool tip value to be used when the user's mouse is over the cell with the given rowData.
ElfColumnBase
 Inherited
setCellData(gridItem:IElfGridItem, rowData:Object, cellData:Object):void
Sets the data of an IElfGridItem.
ElfColumnBase
  
setEditorCellData(editorGridItem:IElfGridItem, rowData:Object):void
ElfDateColumn
 Inherited
setHeaderCellData(gridItem:IElfHeaderGridItem, col:uint):void
Sets the col index of an IElfHeaderGridItem.
ElfColumnBase
 Inherited
toString():String
ElfColumnBase
  
validateCellItem(rowData:Object, cellItem:IListItemRenderer):ValidationResultEvent
ElfDateColumn
Protected Methods
 MethodDefined by
 Inherited
In ElfColumnBase createCell is the default function the cellFactory points to.
ElfColumnBase
  
If a cell is toggled into edit mode, this is the factory method to create the editable cell.
ElfDateColumn
 Inherited
ElfColumnBase
  
formatData(value:Object):String
ElfDateColumn
Events
 EventSummaryDefined by
 Inherited  ElfColumnBase
Styles
 StyleDescriptionDefined by
 Inherited Type: String   CSS Inheritance: no
ElfColumnBase
 Inherited Type: String   CSS Inheritance: no
ElfColumnBase
 Inherited Type: String   CSS Inheritance: no
ElfColumnBase
 Inherited Type: String   CSS Inheritance: no
ElfColumnBase
 Inherited Type: String   CSS Inheritance: no
ElfColumnBase
 Inherited Type: String   CSS Inheritance: no
ElfColumnBase
Property detail
dateFieldEditableproperty
public var dateFieldEditable:Boolean = true
dateFormatterproperty 
public var dateFormatter:DateFormatter
formatStringproperty 
formatString:String  [read-write]Implementation
    public function get formatString():String
    public function set formatString(value:String):void
requiredproperty 
public var required:Boolean = false
Constructor detail
ElfDateColumn()constructor
public function ElfDateColumn()
Method detail
commitValueFunction()method
public override function commitValueFunction(rowData:Object, cellItem:IListItemRenderer):BooleanParameters
rowData:Object
 
cellItem:IListItemRenderer

Returns
Boolean
createEditorCell()method 
protected override function createEditorCell():IElfGridItem

If a cell is toggled into edit mode, this is the factory method to create the editable cell.

Returns
IElfGridItem
formatData()method 
protected override function formatData(value:Object):StringParameters
value:Object

Returns
String
setEditorCellData()method 
public override function setEditorCellData(editorGridItem:IElfGridItem, rowData:Object):voidParameters
editorGridItem:IElfGridItem
 
rowData:Object
validateCellItem()method 
public override function validateCellItem(rowData:Object, cellItem:IListItemRenderer):ValidationResultEventParameters
rowData:Object
 
cellItem:IListItemRenderer

Returns
ValidationResultEvent