grid\GridView $emptyCell

$emptyCell public property The HTML display when the content of a cell is empty. This property is used to render cells that have no defined content, e.g. empty footer or filter cells. Note that this is not used by the yii\grid\DataColumn if a data item is null. In that case the nullDisplay property of the $formatter will be used to indicate an empty data value. public string $emptyCell = ' '

grid\GridView $dataColumnClass

$dataColumnClass public property The default data column class if the class name is not explicitly specified when configuring a data column. Defaults to 'yii\grid\DataColumn'. public string $dataColumnClass = null

grid\GridView $columns

$columns public property Grid column configuration. Each array element represents the configuration for one particular grid column. For example, [ ['class' => SerialColumn::className()], [ 'class' => DataColumn::className(), // this line is optional 'attribute' => 'name', 'format' => 'text', 'label' => 'Name', ], ['class' => CheckboxColumn::className()], ] If a column is of class yii\grid\DataColumn, the "class" element can

grid\GridView $captionOptions

$captionOptions public property The HTML attributes for the caption element. See also: yii\helpers\Html::renderTagAttributes() for details on how attributes are being rendered. $caption public array $captionOptions = []

grid\GridView $caption

$caption public property The caption of the grid table See also $captionOptions. public string $caption = null

grid\GridView $beforeRow

$beforeRow public property An anonymous function that is called once BEFORE rendering each data model. It should have the similar signature as $rowOptions. The return result of the function will be rendered directly. public Closure $beforeRow = null

grid\GridView $afterRow

$afterRow public property An anonymous function that is called once AFTER rendering each data model. It should have the similar signature as $rowOptions. The return result of the function will be rendered directly. public Closure $afterRow = null

grid\DataColumn renderHeaderCellContent()

renderHeaderCellContent() protected method Renders the header cell content. The default implementation simply renders $header. This method may be overridden to customize the rendering of the header cell. protected string renderHeaderCellContent ( )return string The rendering result

grid\DataColumn renderFilterCellContent()

renderFilterCellContent() protected method Renders the filter cell content. The default implementation simply renders a space. This method may be overridden to customize the rendering of the filter cell (if any). protected string renderFilterCellContent ( )return string The rendering result

grid\DataColumn renderDataCellContent()

renderDataCellContent() protected method Renders the data cell content. protected string renderDataCellContent ( $model, $key, $index )$model mixed The data model $key mixed The key associated with the data model $index integer The zero-based index of the data model among the models array returned by yii\grid\GridView::$dataProvider. return string The rendering result