Class \Prado\Web\UI\ActiveControls\TActiveEditCommandColumn
TActiveEditCommandColumn class
TActiveEditCommandColumn contains the Edit command buttons for editing data items in each row.
TActiveEditCommandColumn will create an edit button if a cell is not in edit mode. Otherwise an update button and a cancel button will be created within the cell. The button captions are specified using \Prado\Web\UI\ActiveControls\setEditText, \Prado\Web\UI\ActiveControls\setUpdateText, and \Prado\Web\UI\ActiveControls\setCancelText.
This is the active counterpart to the TEditCommandColumn control. The buttons for interaction are replaced by active buttons.
Please refer to the original documentation of the TEditCommandColumn for usage.
Class hierarchy
- \Prado\Web\UI\ActiveControls\TActiveEditCommandColumn
- \Prado\Web\UI\WebControls\TEditCommandColumn
- \Prado\Web\UI\WebControls\TDataGridColumn
- \Prado\TApplicationComponent
- \Prado\TComponent
Since: 3.1.9
protected
|
createButton(mixed $commandName, mixed $text, mixed $causesValidation, mixed $validationGroup) : mixed
Creates a button and initializes its properties.
The button type is determined by \Prado\Web\UI\WebControls\getButtonType. |
\Prado\TApplicationComponent::FX_CACHE_FILE, \Prado\TComponent::GLOBAL_RAISE_EVENT_LISTENER |