Class TCheckBoxColumn
TCheckBoxColumn class
TCheckBoxColumn represents a checkbox column that is bound to a field in a data source. The checked state of the checkboxes are determiend by the bound data at setDataField DataField. If setReadOnly ReadOnly is false, TCheckBoxColumn will display an enabled checkbox provided the cells are in edit mode. Otherwise, the checkboxes will be disabled to prevent from editting.
The checkbox control in the TCheckBoxColumn can be accessed by one of the following two methods:
$datagridItem->CheckBoxColumnID->CheckBox $datagridItem->CheckBoxColumnID->Controls[0]
The second method is possible because the checkbox control created within the datagrid cell is the first child.
- TComponent
-
TApplicationComponent
-
TDataGridColumn
-
TCheckBoxColumn
Direct known subclasses
TActiveCheckBoxColumnCopyright: Copyright © 2005-2014 PradoSoft
License: http://www.pradosoft.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 3.0
Located at Web/UI/WebControls/TCheckBoxColumn.php
public
string
|
|
public
|
|
public
boolean
|
|
public
|
|
public
|
#
initializeCell(
Initializes the specified cell to its initial values. This method overrides the parent implementation. It creates a checkbox inside the cell. If the column is read-only or if the item is not in edit mode, the checkbox will be set disabled. |
public
|
#
dataBindColumn( mixed $sender, mixed $param )
Databinds a cell in the column. This method is invoked when datagrid performs databinding. It populates the content of the cell with the relevant data from data source. |
getApplication(),
getRequest(),
getResponse(),
getService(),
getSession(),
getUser(),
publishAsset(),
publishFilePath()
|
GLOBAL_RAISE_EVENT_LISTENER
|