PRADO Component Framework for PHP 5
  • Home
  • About
  • Testimonials
  • Demos
  • Download
  • Documentation
  • Forum
  • Development
  • Tutorials
  • Class Docs
  • API Manual
  • Wiki

Packages

  • None
  • System
    • Caching
    • Collections
    • Data
      • ActiveRecord
        • Relations
        • Scaffold
          • InputBuilder
      • Commom
        • Sqlite
      • Common
        • Mssql
        • Mysql
        • Oracle
        • Pgsql
        • Sqlite
      • DataGateway
      • SqlMap
        • Configuration
        • Statements
    • Exceptions
    • I18N
    • IO
    • Security
    • Util
    • Web
      • Javascripts
      • Services
      • UI
        • ActiveControls
        • WebControls
    • Xml
  • Wsat
    • pages
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Class TActiveLiteralColumn

TActiveLiteralColumn class

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 setDataField DataField. You can customize the display by setting setDataFormatString DataFormatString.

If setDataField DataField is not specified, the cells will be filled with setText Text.

If setEncode Encode 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.

TComponent
Extended by TApplicationComponent
Extended by TDataGridColumn
Extended by TLiteralColumn
Extended by TActiveLiteralColumn
Package: System\Web\UI\ActiveControls
Copyright: Copyright © 2009 LANDWEHR Computer und Software GmbH
License: http://www.pradosoft.com/license/
Author: Fabio Bas <ctrlaltca@gmail.com>
Since: 3.1.9
Located at Web/UI/ActiveControls/TActiveDataGrid.php
Methods summary
protected
# initializeHeaderCell( TTableCell $cell, integer $columnIndex )

Initializes the header cell.

Initializes the header cell.

This method attempts to use getHeaderRenderer HeaderRenderer to instantiate the header cell. If that is not available, it will populate the cell with an image or a text string, depending on getHeaderImageUrl HeaderImageUrl and getHeaderText HeaderText property values.

If the column allows sorting, image or text will be created as a button which issues Sort command upon user click.

Parameters

$cell
TTableCell
the cell to be initialized
$columnIndex
integer
the index to the Columns property that the cell resides in.

Overrides

TDataGridColumn::initializeHeaderCell()
Methods inherited from TLiteralColumn
dataBindColumn(), getDataField(), getDataFormatString(), getEncode(), getText(), initializeCell(), setDataField(), setDataFormatString(), setEncode(), setText()
Methods inherited from TDataGridColumn
formatDataValue(), getAllowSorting(), getDataFieldValue(), getEnableCellGrouping(), getFooterRenderer(), getFooterStyle(), getFooterText(), getHeaderImageUrl(), getHeaderRenderer(), getHeaderStyle(), getHeaderText(), getID(), getItemStyle(), getOwner(), getSortExpression(), getViewState(), getVisible(), initialize(), initializeFooterCell(), loadState(), saveState(), setEnableCellGrouping(), setFooterRenderer(), setFooterText(), setHeaderImageUrl(), setHeaderRenderer(), setHeaderText(), setID(), setOwner(), setSortExpression(), setViewState(), setVisible()
Methods inherited from TApplicationComponent
getApplication(), getRequest(), getResponse(), getService(), getSession(), getUser(), publishAsset(), publishFilePath()
Methods inherited from TComponent
__call(), __construct(), __destruct(), __get(), __isset(), __set(), __sleep(), __unset(), __wakeup(), addParsedObject(), asa(), attachBehavior(), attachBehaviors(), attachClassBehavior(), attachEventHandler(), canGetProperty(), canSetProperty(), clearBehaviors(), createdOnTemplate(), detachBehavior(), detachBehaviors(), detachClassBehavior(), detachEventHandler(), disableBehavior(), disableBehaviors(), enableBehavior(), enableBehaviors(), evaluateExpression(), evaluateStatements(), fxAttachClassBehavior(), fxDetachClassBehavior(), getAutoGlobalListen(), getBehaviorsEnabled(), getClassHierarchy(), getEventHandlers(), getListeningToGlobalEvents(), getSubProperty(), hasEvent(), hasEventHandler(), hasProperty(), isa(), listen(), raiseEvent(), setSubProperty(), unlisten()
Constants inherited from TComponent
GLOBAL_RAISE_EVENT_LISTENER
Terms of Service | Contact Us
PRADO v3.2.4 API Manual API documentation generated by ApiGen 2.8.0
Copyright © 2006-2014 by the PRADO Group.
Powered by PRADO