PHP Class yii\grid\SerialColumn

To add a SerialColumn to the GridView, add it to the [[GridView::columns|columns]] configuration as follows: php 'columns' => [ ... [ 'class' => 'yii\grid\SerialColumn', you may configure additional properties here ], ] For more details and usage information on SerialColumn, see the guide article on data widgets.
Since: 2.0
Author: Qiang Xue ([email protected])
Inheritance: extends Column
Show file Open project: yiisoft/yii2 Class Usage Examples

Public Properties

Property Type Description
$header

Protected Methods

Method Description
renderDataCellContent ( $model, $key, $index )

Method Details

renderDataCellContent() protected method

protected renderDataCellContent ( $model, $key, $index )

Property Details

$header public property

public $header