grid\DataColumn $attribute

$attribute public property The attribute name associated with this column. When neither $content nor $value is specified, the value of the specified attribute will be retrieved from each data model and displayed. Also, if $label is not specified, the label associated with the attribute will be displayed. public string $attribute = null

grid\Column 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\Column renderHeaderCell()

renderHeaderCell() public method Renders the header cell. public void renderHeaderCell ( )

grid\Column renderFooterCellContent()

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

grid\Column renderFooterCell()

renderFooterCell() public method Renders the footer cell. public void renderFooterCell ( )

grid\Column 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\Column renderFilterCell()

renderFilterCell() public method Renders the filter cell. public void renderFilterCell ( )

grid\Column 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

grid\Column renderDataCell()

renderDataCell() public method Renders a data cell. public string renderDataCell ( $model, $key, $index )$model mixed The data model being rendered $key mixed The key associated with the data model $index integer The zero-based index of the data item among the item array returned by yii\grid\GridView::$dataProvider. return string The rendering result

grid\Column getHeaderCellLabel()

getHeaderCellLabel() protected method (available since version 2.0.8) Returns header cell label. This method may be overridden to customize the label of the header cell. protected string getHeaderCellLabel ( )return string Label