Class \Prado\Web\UI\ActiveControls\TActiveCheckBoxColumn
TActiveCheckBoxColumn class
TActiveCheckBoxColumn represents a checkbox column that is bound to a field in a data source.
This is the active counterpart to the TCheckBoxColumn control. For that purpose, if sorting is allowed, the header links/buttons are replaced by active controls.
Please refer to the original documentation of the TCheckBoxColumn for usage.
Class hierarchy
- \Prado\Web\UI\ActiveControls\TActiveCheckBoxColumn
- \Prado\Web\UI\WebControls\TCheckBoxColumn
- \Prado\Web\UI\WebControls\TDataGridColumn
- \Prado\TApplicationComponent
- \Prado\TComponent
Since: 3.1.9
public
|
initializeCell(TTableCell $cell, int $columnIndex, string $itemType) : mixed
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. |
protected
|
\Prado\TApplicationComponent::FX_CACHE_FILE, \Prado\TComponent::GLOBAL_RAISE_EVENT_LISTENER |