Packages:
System
System.Caching
System.Collections
System.Data
System.Data.ActiveRecord
System.Data.ActiveRecord.Relations
System.Data.ActiveRecord.Scaffold
System.Data.ActiveReecord.Scaffold.InputBuilder
System.Data.Commom.Sqlite
System.Data.Common
System.Data.Common.Mssql
System.Data.Common.Mysql
System.Data.Common.Oracle
System.Data.Common.Pgsql
System.Data.Common.Sqlite
System.Data.DataGateway
System.Data.SqlMap
System.Data.SqlMap.Configuration
System.Data.SqlMap.Statements
System.Exceptions
System.I18N
System.IO
System.Security
System.Util
System.Web
System.Web.Services
System.Web.UI
System.Web.UI.ActiveControls
System.Web.UI.WebControls
System.Web.UI.WebControls.assets
System.Xml


Classes:
Keyword

Class TActiveCheckBoxColumn

TComponent
   |
   --TApplicationComponent
      |
      --TDataGridColumn
         |
         --TCheckBoxColumn
            |
            --TActiveCheckBoxColumn

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.

Since: 3.1.9
Author: LANDWEHR Computer und Software GmbH <programmierung@landwehr-software.de>

Method Summary
void
initializeCell ( TTableCell $cell, integer $columnIndex, string $itemType)
Initializes the specified cell to its initial values.
protected  void
initializeHeaderCell ( mixed $cell, mixed $columnIndex)
Methods Inherited From TCheckBoxColumn
TCheckBoxColumn::dataBindColumn(), TCheckBoxColumn::getDataField(), TCheckBoxColumn::getReadOnly(), TCheckBoxColumn::initializeCell(), TCheckBoxColumn::setDataField(), TCheckBoxColumn::setReadOnly()
Methods 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()
Methods Inherited From TApplicationComponent
TApplicationComponent::getApplication(), TApplicationComponent::getRequest(), TApplicationComponent::getResponse(), TApplicationComponent::getService(), TApplicationComponent::getSession(), TApplicationComponent::getUser(), TApplicationComponent::publishAsset(), TApplicationComponent::publishFilePath()
Methods 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::__get(), TComponent::__set()

Method Details

initializeCell

public void initializeCell (TTableCell $cell , integer $columnIndex , string $itemType )

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.

Input
TTableCell$cellthe cell to be initialized.
integer$columnIndexthe index to the Columns property that the cell resides in.
string$itemTypethe type of cell (Header,Footer,Item,AlternatingItem,EditItem,SelectedItem)
Output
Exception

initializeHeaderCell

protected void initializeHeaderCell (mixed $cell , mixed $columnIndex )

Input
mixed$cell
mixed$columnIndex
Output
Exception