Protected Member Functions | |
_getValue (Varien_Object $row) |
Definition at line 35 of file Blanknumber.php.
_getValue | ( | Varien_Object $ | row | ) | [protected] |
Reimplemented from Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Number.
Definition at line 37 of file Blanknumber.php.
00038 { 00039 $data = parent::_getValue($row); 00040 if (!is_null($data)) { 00041 $value = $data * 1; 00042 return $value ? $value: ''; // fixed for showing blank cell in grid 00043 /** 00044 * @todo may be bug in i.e. needs to be fixed 00045 */ 00046 } 00047 return $this->getColumn()->getDefault(); 00048 }