Class \Prado\Web\UI\WebControls\TLiteralColumn
TLiteralColumn class
TLiteralColumn represents a static text column that is bound to a field in a data source. The cells in the column will be displayed with static texts using the data indexed by \Prado\Web\UI\WebControls\setDataField. You can customize the display by setting \Prado\Web\UI\WebControls\setDataFormatString.
If \Prado\Web\UI\WebControls\setDataField is not specified, the cells will be filled with \Prado\Web\UI\WebControls\setText.
If \Prado\Web\UI\WebControls\setEncode is true, the static texts will be HTML-encoded.
Class hierarchy
- \Prado\Web\UI\WebControls\TLiteralColumn
- \Prado\Web\UI\WebControls\TDataGridColumn
- \Prado\TApplicationComponent
- \Prado\TComponent
Since: 3.0.5
public
|
dataBindColumn(mixed $sender, mixed $param) : mixed
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. |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
initializeCell(TTableCell $cell, int $columnIndex, string $itemType) : mixed
Initializes the specified cell to its initial values.
This method overrides the parent implementation. |
public
|
|
public
|
|
public
|
|
public
|
\Prado\TApplicationComponent::FX_CACHE_FILE, \Prado\TComponent::GLOBAL_RAISE_EVENT_LISTENER |