protected function initReportRows() { $tag = "ReportTableDrafter: initReportRows()"; Log::debug("$tag"); // call parent method parent::initReportRows(); // re-format values for table dispaly $reportRows = $this->reportRows; if( (is_array($reportRows)) && (count($reportRows)>0) ) { foreach($reportRows as $row) { foreach($row->columns as $key=>$reportColumn) { $value = $reportColumn->value; if( (empty($value)) && ($value!="0") ) { $value = " "; $reportColumn->value = $value; } } } $this->reportRows = $reportRows; } }