grid\GridView $headerRowOptions

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

grid\GridView $formatter

$formatter public property The formatter used to format model attribute values into displayable texts. This can be either an instance of yii\i18n\Formatter or an configuration array for creating the yii\i18n\Formatter instance. If this property is not set, the "formatter" application component will be used. public array|yii\i18n\Formatter $formatter = null

grid\GridView $footerRowOptions

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

grid\GridView $filterUrl

$filterUrl public property The URL for returning the filtering result. yii\helpers\Url::to() will be called to normalize the URL. If not set, the current controller action will be used. When the user makes change to any filter input, the current filtering inputs will be appended as GET parameters to this URL. public string|array $filterUrl = null

grid\GridView $filterSelector

$filterSelector public property Additional jQuery selector for selecting filter input fields public string $filterSelector = null

grid\GridView $filterRowOptions

$filterRowOptions public property The HTML attributes for the filter row element. See also yii\helpers\Html::renderTagAttributes() for details on how attributes are being rendered. public array $filterRowOptions = ['class' => 'filters']

grid\GridView $filterPosition

$filterPosition public property Whether the filters should be displayed in the grid view. Valid values include: FILTER_POS_HEADER: the filters will be displayed on top of each column's header cell. FILTER_POS_BODY: the filters will be displayed right below each column's header cell. FILTER_POS_FOOTER: the filters will be displayed below each column's footer cell. public string $filterPosition = self::FILTER_POS_BODY

grid\GridView $filterModel

$filterModel public property The model that keeps the user-entered filter data. When this property is set, the grid view will enable column-based filtering. Each data column by default will display a text field at the top that users can fill in to filter the data. Note that in order to show an input field for filtering, a column must have its yii\grid\DataColumn::$attribute property set or have yii\grid\DataColumn::$filter set as the HTML code for the input field. When this property is not

grid\GridView $filterErrorSummaryOptions

$filterErrorSummaryOptions public property The options for rendering the filter error summary. Please refer to yii\helpers\Html::errorSummary() for more details about how to specify the options. See also renderErrors(). public array $filterErrorSummaryOptions = ['class' => 'error-summary']

grid\GridView $filterErrorOptions

$filterErrorOptions public property The options for rendering every filter error message. This is mainly used by yii\helpers\Html::error() when rendering an error message next to every filter input field. public array $filterErrorOptions = ['class' => 'help-block']