*/ class Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Massaction extends Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Checkbox { protected $_defaultWidth = 20; /** * Render header of the row * * @return string */ public function renderHeader() { return ' '; } /** * Render HTML properties * * @return string */ public function renderProperty() { $out = parent::renderProperty(); $out = preg_replace('/class=".*?"/i', '', $out); $out .= ' class="a-center"'; return $out; } /** * Returns HTML of the object * * @param Varien_Object $row * @return string */ public function render(Varien_Object $row) { if ($this->getColumn()->getGrid()->getMassactionIdFieldOnlyIndexValue()) { $this->setNoObjectId(true); } return parent::render($row); } /** * Returns HTML of the checkbox * * @param string $value * @param bool $checked * @return string */ protected function _getCheckboxHtml($value, $checked) { $html = 'escapeHtml($value) . '" class="massaction-checkbox"' . $checked . '/>'; return $html; } }