PHP Класс Prado\Web\UI\ActiveControls\TActiveTableCellEventParameter

The TActiveTableCellEventParameter provides the parameter passed during the callback requestion in the {@link getCallbackParameter CallbackParameter} property. The callback response content (e.g. new HTML content) must be rendered using an THtmlWriter obtained from the {@link getNewWriter NewWriter} property, which returns a NEW instance of TCallbackResponseWriter. The {@link getSelectedCellIndex SelectedCellIndex} 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).
С версии: 3.1.9
Автор: LANDWEHR Computer und Software GmbH ([email protected])
Наследование: extends TCallbackEventParameter
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( $response, $parameter, $index ) Creates a new TActiveTableRowEventParameter.
getSelectedCellIndex ( ) : integer Returns the zero-based index of the {@link TActiveTableCell} within the {@link TTableCellCollection} of the parent {@link TTableRow} control.

Описание методов

__construct() публичный Метод

Creates a new TActiveTableRowEventParameter.
public __construct ( $response, $parameter, $index )

getSelectedCellIndex() публичный Метод

Returns the zero-based index of the {@link TActiveTableCell} within the {@link TTableCellCollection} of the parent {@link TTableRow} control.
public getSelectedCellIndex ( ) : integer
Результат integer the zero-based index of the cell.