Class \Prado\Web\UI\ActiveControls\TActiveTableCellEventParameter
TActiveTableCellEventParameter class.
The TActiveTableCellEventParameter provides the parameter passed during the callback requestion in the \Prado\Web\UI\ActiveControls\getCallbackParameter property. The callback response content (e.g. new HTML content) must be rendered using an THtmlWriter obtained from the \Prado\Web\UI\ActiveControls\getNewWriter property, which returns a NEW instance of TCallbackResponseWriter.
The \Prado\Web\UI\ActiveControls\getSelectedCellIndex is a zero-based index of the TActiveTableCell , -1 if the cell is not part of the cell collection (this shouldn't happen though since an exception is thrown before).
Class hierarchy
- \Prado\Web\UI\ActiveControls\TActiveTableCellEventParameter
- \Prado\Web\UI\ActiveControls\TCallbackEventParameter
- \Prado\TEventParameter implements IEventParameter
- \Prado\TComponent
Since: 3.1.9
public
|
__construct(mixed $response, mixed $parameter[, mixed $index = -1 ]) : mixed
Creates a new TActiveTableRowEventParameter.
|
public
|
getSelectedCellIndex() : int
Returns the zero-based index of the {@see \Prado\Web\UI\ActiveControls\TActiveTableCell} within the
{@see \Prado\Web\UI\WebControls\TTableCellCollection} of the parent {@see \Prado\Web\UI\WebControls\TTableRow} control.
|
\Prado\TComponent::GLOBAL_RAISE_EVENT_LISTENER |