/** * Return whether grid accept custom columns * * @return bool */ public function canHaveCustomColumns() { if (!is_null($this->_typeModel)) { return $this->_typeModel->canHaveCustomColumns($this->getBlockType(), $this->getRewritingClassName()); } return false; }