PHP Класс 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.
С версии: 2.0
Автор: Qiang Xue ([email protected])
Наследование: extends Column
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$header

Защищенные методы

Метод Описание
renderDataCellContent ( $model, $key, $index )

Описание методов

renderDataCellContent() защищенный Метод

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

Описание свойств

$header публичное свойство

public $header