| Package | org.openzet.controls.dataGridClasses |
| Class | public class DataGridCheckBoxRenderer |
| Inheritance | DataGridCheckBoxRenderer mx.controls.CheckBox |
| Subclasses | DataGridHeaderCheckBox |
See also
| Property | Defined by | ||
|---|---|---|---|
| enableFunction : Function
A flag to specify an external function to enable or disable CheckBox instance.
| DataGridCheckBoxRenderer | ||
| iconWidth : Number = 14 [static]
Static variable that indicates iconWidth.
| DataGridCheckBoxRenderer | ||
| labelField : String
A property to specify a dataField which has label data values for each instance.
| DataGridCheckBoxRenderer | ||
| Method | Defined by | ||
|---|---|---|---|
|
Constructor
| DataGridCheckBoxRenderer | ||
| Method | Defined by | ||
|---|---|---|---|
|
clickHandler(event:MouseEvent):void
Internal mouseClick event handler method.
| DataGridCheckBoxRenderer | ||
| enableFunction | property |
enableFunction:Function [read-write]A flag to specify an external function to enable or disable CheckBox instance. External enableFunction should be implemented in a way like
public function enableFunc(item:Object):Boolean {
if (item.A == 10) {
return true;
}
return false;
}
public function get enableFunction():Function
public function set enableFunction(value:Function):void
| iconWidth | property |
public static var iconWidth:Number = 14Static variable that indicates iconWidth. Default value is 14.
| labelField | property |
labelField:String [read-write]A property to specify a dataField which has label data values for each instance. By default, this instance sets its selected value as true/false through the dataField this itemRenderer instance is being applied. Yet if you specify a labelField, you can also show specific label along with CheckBox's selected/unselected status.
Implementation public function get labelField():String
public function set labelField(value:String):void
| DataGridCheckBoxRenderer | () | constructor |
public function DataGridCheckBoxRenderer()Constructor
| clickHandler | () | method |
protected override function clickHandler(event:MouseEvent):voidInternal mouseClick event handler method.
Parametersevent:MouseEvent |