grid\Column $visible

$visible public property Whether this column is visible. Defaults to true. public boolean $visible = true

grid\Column $options

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

grid\Column $headerOptions

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

grid\Column $header

$header public property The header cell content. Note that it will not be HTML-encoded. public string $header = null

grid\Column $grid

$grid public property The grid view object that owns this column. public yii\grid\GridView $grid = null

grid\Column $footerOptions

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

grid\Column $footer

$footer public property The footer cell content. Note that it will not be HTML-encoded. public string $footer = null

grid\Column $filterOptions

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

grid\Column $contentOptions

$contentOptions public property The HTML attributes for the data cell tag. This can either be an array of attributes or an anonymous function (Closure) that returns such an array. The signature of the function should be the following: function ($model, $key, $index, $column). Where $model, $key, and $index refer to the model, key and index of the row currently being rendered and $column is a reference to the yii\grid\Column object. A function may be used to assign different attributes to di

grid\Column $content

$content public property This is a callable that will be used to generate the content of each cell. The signature of the function should be the following: function ($model, $key, $index, $column). Where $model, $key, and $index refer to the model, key and index of the row currently being rendered and $column is a reference to the yii\grid\Column object. public callable $content = null