Packagecom.flexicious.grids.columns.footers
Classpublic class DataGridFooterRow
InheritanceDataGridFooterRow Inheritance mx.core.UIComponent
Implements IColumnRow

A container for all the DataGridCell objects.



Public Properties
 PropertyDefined By
  allColumns : Array
[read-only] All columns, regardless of visbility
DataGridFooterRow
  dataGrid : IExtendedDataGrid
The grid that this footer row belongs to.
DataGridFooterRow
  dataProvider : Object
[read-only] For footer calculations, we need access to all the data, regardless of what page it belongs to.
DataGridFooterRow
  isLocked : Boolean
The classic datagrid has two footer rows in locked mode - one is locked and the other one is free.
DataGridFooterRow
  isUnLocked : Boolean
The classic datagrid has two footer rows in locked mode - one is locked and the other one is free.
DataGridFooterRow
  label : String
DataGridFooterRow
  operation : String
[write-only]
DataGridFooterRow
  overlayGraphic : Shape
[read-only]
DataGridFooterRow
  precision : int = 2
DataGridFooterRow
  visibleColumns : Array
[read-only] All visible columns
DataGridFooterRow
Protected Properties
 PropertyDefined By
  overlay : Shape
DataGridFooterRow
Public Methods
 MethodDefined By
  
DataGridFooterRow(dg:IExtendedDataGrid, isUnlocked:Boolean = false, isLocked:Boolean = false)
DataGridFooterRow
  
Can be called to rebuild the footer row.
DataGridFooterRow
  
snapToColumns(cols:Array):void
Snaps the footers to a differnt datagrid's columns.
DataGridFooterRow
Protected Methods
 MethodDefined By
  
[override] create the actual border here
DataGridFooterRow
  
updateDisplayList(w:Number, h:Number):void
[override] lay it out
DataGridFooterRow
Styles
 Style Description Defined By
  
backgroundColor
Type: color CSS Inheritance: no
DataGridFooterRow
Property Detail
allColumnsproperty
allColumns:Array  [read-only]

All columns, regardless of visbility


Implementation
    public function get allColumns():Array
dataGridproperty 
dataGrid:IExtendedDataGrid

The grid that this footer row belongs to.


Implementation
    public function get dataGrid():IExtendedDataGrid
    public function set dataGrid(value:IExtendedDataGrid):void
dataProviderproperty 
dataProvider:Object  [read-only]

For footer calculations, we need access to all the data, regardless of what page it belongs to.


Implementation
    public function get dataProvider():Object
isLockedproperty 
isLocked:Boolean

The classic datagrid has two footer rows in locked mode - one is locked and the other one is free. This property sets to true for the locked row


Implementation
    public function get isLocked():Boolean
    public function set isLocked(value:Boolean):void
isUnLockedproperty 
isUnLocked:Boolean

The classic datagrid has two footer rows in locked mode - one is locked and the other one is free. This property sets to true for the unlocked row


Implementation
    public function get isUnLocked():Boolean
    public function set isUnLocked(value:Boolean):void
labelproperty 
label:String


Implementation
    public function get label():String
    public function set label(value:String):void
operationproperty 
operation:String  [write-only]


Implementation
    public function set operation(value:String):void

See also

footerPrecision
overlayproperty 
protected var overlay:Shape

overlayGraphicproperty 
overlayGraphic:Shape  [read-only]


Implementation
    public function get overlayGraphic():Shape
precisionproperty 
public var precision:int = 2

See also

footerPrecision
visibleColumnsproperty 
visibleColumns:Array  [read-only]

All visible columns


Implementation
    public function get visibleColumns():Array
Constructor Detail
DataGridFooterRow()Constructor
public function DataGridFooterRow(dg:IExtendedDataGrid, isUnlocked:Boolean = false, isLocked:Boolean = false)



Parameters
dg:IExtendedDataGrid
 
isUnlocked:Boolean (default = false)
 
isLocked:Boolean (default = false)
Method Detail
createChildren()method
override protected function createChildren():void

create the actual border here

redrawFooter()method 
public function redrawFooter():void

Can be called to rebuild the footer row.

snapToColumns()method 
public function snapToColumns(cols:Array):void

Snaps the footers to a differnt datagrid's columns. Used in print to snap the footer to the print datagrid's columns

Parameters

cols:Array

updateDisplayList()method 
override protected function updateDisplayList(w:Number, h:Number):void

lay it out

Parameters

w:Number
 
h:Number