*/ class TBT_Enhancedgrid_Block_Widget_Grid_Column extends Mage_Adminhtml_Block_Widget_Grid_Column { protected function _getRendererByType() { switch (strtolower($this->getType())) { case 'image': $rendererClass = 'enhancedgrid/widget_grid_column_renderer_image'; break; case 'category': $rendererClass = 'enhancedgrid/widget_grid_column_renderer_category'; break; default: $rendererClass = parent::_getRendererByType(); break; } return $rendererClass; } protected function _getFilterByType() { switch (strtolower($this->getType())) { case 'image': $filterClass = 'enhancedgrid/widget_grid_column_filter_image'; break; default: $filterClass = parent::_getFilterByType(); break; } return $filterClass; } }