yii\grid\GridView::renderFilters PHP Method

renderFilters() public method

Renders the filter.
public renderFilters ( ) : string
return string the rendering result.
    public function renderFilters()
    {
        if ($this->filterModel !== null) {
            $cells = [];
            foreach ($this->columns as $column) {
                /* @var $column Column */
                $cells[] = $column->renderFilterCell();
            }
            return Html::tag('tr', implode('', $cells), $this->filterRowOptions);
        } else {
            return '';
        }
    }