Class \Prado\Web\UI\ActiveControls\TActiveLiteralColumn
TActiveLiteralColumn 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\ActiveControls\setDataField. You can customize the display by setting \Prado\Web\UI\ActiveControls\setDataFormatString.
If \Prado\Web\UI\ActiveControls\setDataField is not specified, the cells will be filled with \Prado\Web\UI\ActiveControls\setText.
If \Prado\Web\UI\ActiveControls\setEncode is true, the static texts will be HTML-encoded.
This is the active counterpart to the TLiteralColumn 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 TLiteralColumn for usage.
Class hierarchy
- \Prado\Web\UI\ActiveControls\TActiveLiteralColumn
- \Prado\Web\UI\WebControls\TLiteralColumn
- \Prado\Web\UI\WebControls\TDataGridColumn
- \Prado\TApplicationComponent
- \Prado\TComponent
Since: 3.1.9
protected
|
\Prado\TApplicationComponent::FX_CACHE_FILE, \Prado\TComponent::GLOBAL_RAISE_EVENT_LISTENER |