Php yii2 gridview:如何为filterModel配置css

Php yii2 gridview:如何为filterModel配置css,php,yii2,Php,Yii2,我想为“filterModel”配置表单文本。这是我的密码 GridView::widget([ 'dataProvider' => $dataProvider, 'filterModel' => $searchModel, 'columns' => $gridColumns, ]) 下面是filterModel的GridzView的一些选项。 这只是一个友好的提示,你可能想仔细阅读这一页:这样你就可以确保你的问题很容易回答并且尽可能清楚。请确保包括

我想为“filterModel”配置表单文本。这是我的密码

GridView::widget([
    'dataProvider' => $dataProvider,
    'filterModel' => $searchModel,
    'columns' => $gridColumns,
])

下面是filterModel的GridzView的一些选项。


这只是一个友好的提示,你可能想仔细阅读这一页:这样你就可以确保你的问题很容易回答并且尽可能清楚。请确保包括您为解决问题所做的任何努力,以及在尝试这些修复时发生的情况。另外,不要忘记显示代码和任何错误消息!“配置”是什么意思?
/**
 * @var array the HTML attributes for the filter row element.
 * @see \yii\helpers\Html::renderTagAttributes() for details on how attributes are being rendered.
 */
public $filterRowOptions = ['class' => 'filters'];
/**
 * @var array the options for rendering the filter error summary.
 * Please refer to [[Html::errorSummary()]] for more details about how to specify the options.
 * @see renderErrors()
 */
public $filterErrorSummaryOptions = ['class' => 'error-summary'];
/**
 * @var array the options for rendering every filter error message.
 * This is mainly used by [[Html::error()]] when rendering an error message next to every filter input field.
 */
public $filterErrorOptions = ['class' => 'help-block'];