Packagecom.elfgrid.columns
Classpublic class ElfButtonColumn
InheritanceElfButtonColumn Inheritance ElfColumnBase Inheritance com.nbilyk.display.CSSComponent
ImplementsIElfGridColumn
SubclassesElfLinkButtonColumn



Public Properties
 PropertyDefined by
  caseInsensitiveSorting : Boolean = true
ElfButtonColumn
 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
 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
  focusOnColumnSelect : Boolean = true
ElfButtonColumn
  focusOnRowSelect : Boolean = true
ElfButtonColumn
 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
 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
  
ElfButtonColumn
  
commitValueFunction(rowData:Object, cellItem:IListItemRenderer):Boolean
ElfButtonColumn
 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
  
setCellData(gridItem:IElfGridItem, rowData:Object, cellData:Object):void
ElfButtonColumn
  
setEditorCellData(editorGridItem:IElfGridItem, rowData:Object):void
ElfButtonColumn
 Inherited
setHeaderCellData(gridItem:IElfHeaderGridItem, col:uint):void
Sets the col index of an IElfHeaderGridItem.
ElfColumnBase
 Inherited
toString():String
ElfColumnBase
 Inherited
validateCellItem(rowData:Object, cellItem:IListItemRenderer):ValidationResultEvent
ElfColumnBase
Protected Methods
 MethodDefined by
  
cellButtonClickHandler(event:MouseEvent):void
ElfButtonColumn
  
createButton():Button
ElfButtonColumn
  
ElfButtonColumn
  
ElfButtonColumn
 Inherited
ElfColumnBase
 Inherited
formatData(value:Object):String
No special formatting by default.
ElfColumnBase
Events
 EventSummaryDefined by
    ElfButtonColumn
 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
caseInsensitiveSortingproperty
public var caseInsensitiveSorting:Boolean = true
focusOnColumnSelectproperty 
public var focusOnColumnSelect:Boolean = true
focusOnRowSelectproperty 
public var focusOnRowSelect:Boolean = true
Constructor detail
ElfButtonColumn()constructor
public function ElfButtonColumn()
Method detail
cellButtonClickHandler()method
protected function cellButtonClickHandler(event:MouseEvent):voidParameters
event:MouseEvent
commitValueFunction()method 
public override function commitValueFunction(rowData:Object, cellItem:IListItemRenderer):BooleanParameters
rowData:Object
 
cellItem:IListItemRenderer

Returns
Boolean
createButton()method 
protected function createButton():Button

Returns
Button
createCell()method 
protected override function createCell():IElfGridItem

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

Returns
IElfGridItem
setCellData()method 
public override function setCellData(gridItem:IElfGridItem, rowData:Object, cellData:Object):voidParameters
gridItem:IElfGridItem
 
rowData:Object
 
cellData:Object
setEditorCellData()method 
public override function setEditorCellData(editorGridItem:IElfGridItem, rowData:Object):voidParameters
editorGridItem:IElfGridItem
 
rowData:Object
Event detail
clickevent 
Event object type: com.elfgrid.events.ElfButtonEvent