Class TActiveCheckBoxColumn

Description

TActiveCheckBoxColumn class

TActiveCheckBoxColumn represents a checkbox column that is bound to a field in a data source.

This is the active counterpart to the TCheckBoxColumn 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 TCheckBoxColumn for usage.

  • author: LANDWEHR Computer und Software GmbH <programmierung@landwehr-software.de>
  • version: $Id: TCheckBoxColumn.php 2996 2011-06-20 15:24:57Z ctrlaltca@gmail.com $
  • since: 3.1.9

Located in /Web/UI/ActiveControls/TActiveDataGrid.php (line 516)

TComponent
   |
   --TApplicationComponent
      |
      --TDataGridColumn
         |
         --TCheckBoxColumn
            |
            --TActiveCheckBoxColumn
Method Summary
void initializeCell (TTableCell $cell, integer $columnIndex, string $itemType)
void initializeHeaderCell ( $cell,  $columnIndex)
Methods
initializeCell (line 528)

Initializes the specified cell to its initial values.

This method overrides the parent implementation. It creates a checkbox inside the cell. If the column is read-only or if the item is not in edit mode, the checkbox will be set disabled.

  • access: public
void initializeCell (TTableCell $cell, integer $columnIndex, string $itemType)
  • TTableCell $cell: the cell to be initialized.
  • integer $columnIndex: the index to the Columns property that the cell resides in.
  • string $itemType: the type of cell (Header,Footer,Item,AlternatingItem,EditItem,SelectedItem)

Redefinition of:
TCheckBoxColumn::initializeCell()
Initializes the specified cell to its initial values.
initializeHeaderCell (line 545)
  • access: protected
void initializeHeaderCell ( $cell,  $columnIndex)
  • $cell
  • $columnIndex

Redefinition of:
TDataGridColumn::initializeHeaderCell()
Initializes the header cell.

Inherited Methods

Inherited From TCheckBoxColumn

TCheckBoxColumn::dataBindColumn()
TCheckBoxColumn::getDataField()
TCheckBoxColumn::getReadOnly()
TCheckBoxColumn::initializeCell()
TCheckBoxColumn::setDataField()
TCheckBoxColumn::setReadOnly()

Inherited From TDataGridColumn

TDataGridColumn::formatDataValue()
TDataGridColumn::getAllowSorting()
TDataGridColumn::getDataFieldValue()
TDataGridColumn::getEnableCellGrouping()
TDataGridColumn::getFooterRenderer()
TDataGridColumn::getFooterStyle()
TDataGridColumn::getFooterText()
TDataGridColumn::getHeaderImageUrl()
TDataGridColumn::getHeaderRenderer()
TDataGridColumn::getHeaderStyle()
TDataGridColumn::getHeaderText()
TDataGridColumn::getID()
TDataGridColumn::getItemStyle()
TDataGridColumn::getOwner()
TDataGridColumn::getSortExpression()
TDataGridColumn::getViewState()
TDataGridColumn::getVisible()
TDataGridColumn::initialize()
TDataGridColumn::initializeCell()
TDataGridColumn::initializeFooterCell()
TDataGridColumn::initializeHeaderCell()
TDataGridColumn::loadState()
TDataGridColumn::saveState()
TDataGridColumn::setEnableCellGrouping()
TDataGridColumn::setFooterRenderer()
TDataGridColumn::setFooterText()
TDataGridColumn::setHeaderImageUrl()
TDataGridColumn::setHeaderRenderer()
TDataGridColumn::setHeaderText()
TDataGridColumn::setID()
TDataGridColumn::setOwner()
TDataGridColumn::setSortExpression()
TDataGridColumn::setViewState()
TDataGridColumn::setVisible()

Inherited From TApplicationComponent

TApplicationComponent::getApplication()
TApplicationComponent::getRequest()
TApplicationComponent::getResponse()
TApplicationComponent::getService()
TApplicationComponent::getSession()
TApplicationComponent::getUser()
TApplicationComponent::publishAsset()
TApplicationComponent::publishFilePath()

Inherited From TComponent

TComponent::addParsedObject()
TComponent::attachEventHandler()
TComponent::canGetProperty()
TComponent::canSetProperty()
TComponent::createdOnTemplate()
TComponent::detachEventHandler()
TComponent::evaluateExpression()
TComponent::evaluateStatements()
TComponent::getEventHandlers()
TComponent::getSubProperty()
TComponent::hasEvent()
TComponent::hasEventHandler()
TComponent::hasProperty()
TComponent::raiseEvent()
TComponent::setSubProperty()
TComponent::__call()
TComponent::__get()
TComponent::__set()
TComponent::__sleep()
TComponent::__wakeup()

Documentation generated on Mon, 25 Jun 2012 14:36:54 +0200 by phpDocumentor 1.4.3