projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
148415f
)
SimpleExcel.php
author
Edward
<edward@roojs.com>
Mon, 9 Feb 2015 09:29:32 +0000
(17:29 +0800)
committer
Edward
<edward@roojs.com>
Mon, 9 Feb 2015 09:29:32 +0000
(17:29 +0800)
SimpleExcel.php
patch
|
blob
|
history
diff --git
a/SimpleExcel.php
b/SimpleExcel.php
index
6dfed74
..
5047b3a
100644
(file)
--- a/
SimpleExcel.php
+++ b/
SimpleExcel.php
@@
-348,7
+348,7
@@
class Pman_Core_SimpleExcel extends Pman
if(isset($col_cfg['autoHeight'])){
$vv = explode("\n", $v);
if(isset($col_cfg['autoHeight'])){
$vv = explode("\n", $v);
- $
height = count($vv) * 20
;
+ $
maxHeight = MAX(count($vv) * 20, $maxHeight);
;
$worksheet->setRow($start_row+$r, $height);
}
}
$worksheet->setRow($start_row+$r, $height);
}
}