From: Edward Date: Mon, 9 Feb 2015 09:28:34 +0000 (+0800) Subject: SimpleExcel.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=44aa674812da80776c5034e4f1c913032b78de0e SimpleExcel.php --- diff --git a/SimpleExcel.php b/SimpleExcel.php index 2884501c..f5bd7176 100644 --- a/SimpleExcel.php +++ b/SimpleExcel.php @@ -344,13 +344,13 @@ class Pman_Core_SimpleExcel extends Pman $worksheet->write($start_row+$r, $c, $v, $format); } -// if(isset($col_cfg['autoHeight'])){ + if(isset($col_cfg['autoHeight'])){ $vv = explode("\n", $v); $height = count($vv) * 20; $worksheet->setRow($start_row+$r, $height); -// } + } } $this->start_row++;