From: Edward Date: Mon, 9 Feb 2015 09:31:51 +0000 (+0800) Subject: SimpleExcel.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=f7dfc0ea0b6a02ed9b107e788f38e3bb4350bfff SimpleExcel.php --- diff --git a/SimpleExcel.php b/SimpleExcel.php index 573ac1d1..da65a4e5 100644 --- a/SimpleExcel.php +++ b/SimpleExcel.php @@ -348,13 +348,13 @@ class Pman_Core_SimpleExcel extends Pman // if(isset($col_cfg['autoHeight'])){ $vv = explode("\n", $v); - print_R(count($vv)); + $height = MAX(count($vv) * 20, $height);; $worksheet->setRow($start_row+$r, $height); // } } $this->start_row++; - exit; + return $hasRender; }