Packageorg.openzet.controls.dataGridClasses
Classpublic class DataGridHeaderCheckBox
InheritanceDataGridHeaderCheckBox Inheritance DataGridCheckBoxRenderer Inheritance mx.controls.CheckBox

DataGridHeaderCheckBox class is one that extends DataGridCheckBoxRenderer class and provides features like selecting and unselecting all items on a certain column.

See also

mx.controls.CheckBox
org.openzet.dataGridClasses.DataGridCheckBoxRenderer


Public Properties
 PropertyDefined by
  compareFunction : Function
A property to specify an external function by which to judge whether to forcefully set specific CheckBox item's selected status or not.
DataGridHeaderCheckBox
 InheritedenableFunction : Function
A flag to specify an external function to enable or disable CheckBox instance.
DataGridCheckBoxRenderer
 InheritediconWidth : Number = 14
[static] Static variable that indicates iconWidth.
DataGridCheckBoxRenderer
 InheritedlabelField : String
A property to specify a dataField which has label data values for each instance.
DataGridCheckBoxRenderer
Public Methods
 MethodDefined by
  
DataGridHeaderCheckBox
Protected Methods
 MethodDefined by
 Inherited
clickHandler(event:MouseEvent):void
Internal mouseClick event handler method.
DataGridCheckBoxRenderer
Property detail
compareFunctionproperty
compareFunction:Function  [read-write]

A property to specify an external function by which to judge whether to forcefully set specific CheckBox item's selected status or not. A comareFunction should be implemented like

  public function compareFunc(item:Object):Boolean {
    if (item.A == 10) {
     return true;
    } 
    return false;
  }
  
where item is an each row item object.

Implementation
    public function get compareFunction():Function
    public function set compareFunction(value:Function):void
Constructor detail
DataGridHeaderCheckBox()constructor
public function DataGridHeaderCheckBox()