Class X2DataColumnGeneric
CDataColumn represents a grid view column that is associated with a data attribute or PHP expression.
Either CDataColumn::$name
or CDataColumn::$value
should be specified. The former
specifies a data attribute name, while the latter a PHP expression whose value
should be rendered instead.
The property CDataColumn::$sortable
determines whether the grid view can be sorted
according to this column. Note that the CDataColumn::$name
should always be set if the
column needs to be sortable. The CDataColumn::$name
value will be used by CSort to render a clickable link in the header cell to trigger the sorting.
- CComponent
- CGridColumn
- CDataColumn
- X2DataColumnGeneric
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 1.1
Located at x2engine/protected/components/X2GridView/X2DataColumnGeneric.php
public
|
|
public
|
#
renderDataCell( integer $row )
This method is Copyright (c) 2008-2014 by Yii Software LLC http://www.yiiframework.com/license/ |
public
|
#
evaluateHtmlOptions( array $options, mixed $data )
Allows php snippets to be included in html option values |
protected
|
#
renderFilterCellContent( )
Renders the filter cell content. This method will render the |
public
|
getDataCellContent(),
getFilterCellContent(),
getHeaderCellContent()
|
__construct(),
getFooterCellContent(),
getHasFooter(),
renderDataCellContent(),
renderFilterCell(),
renderFooterCell(),
renderFooterCellContent(),
renderHeaderCell(),
renderHeaderCellContent()
|
__call(),
__get(),
__isset(),
__set(),
__unset(),
asa(),
attachBehavior(),
attachBehaviors(),
attachEventHandler(),
canGetProperty(),
canSetProperty(),
detachBehavior(),
detachBehaviors(),
detachEventHandler(),
disableBehavior(),
disableBehaviors(),
enableBehavior(),
enableBehaviors(),
evaluateExpression(),
getEventHandlers(),
hasEvent(),
hasEventHandler(),
hasProperty(),
raiseEvent()
|
public
string
|
$filterType |
|
#
$filterType |
public
mixed
|
$width |
|
$filter,
$name,
$sortable,
$type,
$value
|
$cssClassExpression,
$filterHtmlOptions,
$footer,
$footerHtmlOptions,
$grid,
$header,
$headerHtmlOptions,
$htmlOptions,
$id,
$visible
|
$filterCellContent,
$footerCellContent,
$hasFooter,
$headerCellContent
|