/** * Retrieve the HTML/JS to hide the row * * @return string */ protected function _isHiddenHtml(Varien_Object $row) { if ($row->getIsHidden()) { return sprintf("<script type=\"text/javascript\">\$('%s').up('tr').hide();</script>", $this->getSpanId($row)); } return ''; }