Scenario
I'm overriding a grid and in the _prepareColumns()
I would like to replace a column renderer with custom one.
Because the column already exist I'm using getColumn()
and the setRenderer()
method, the issue is that this action is breaking the backend page.
I cannot find any exception/report/log ... so I'm a bit lost.
here the code
protected function _prepareColumns()
{
parent::_prepareColumns();
$this->getColumn('in_products')
->setRenderer('MYMODULE/catalog_product_edit_tab_super_config_grid_renderer_checkbox');
return $this;
}
in_products
? Try dumping the value of$this->getColumn('in_products')
to see whether you're attempting to call->setRenderer()
on a non-object.in_product
is right, xdebug ..