/** * Renders the filter cell. */ public function renderFilterCell() { if ($this->grid->filterPosition === GridView::FILTER_POS_BODY && $this->mergeHeader) { return null; } return parent::renderFilterCell(); }