projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f7acc4d
)
SimpleExcel.php
author
Alan Knowles
<alan@roojs.com>
Tue, 21 May 2019 08:57:24 +0000
(16:57 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 21 May 2019 08:57:24 +0000
(16:57 +0800)
SimpleExcel.php
patch
|
blob
|
history
diff --git
a/SimpleExcel.php
b/SimpleExcel.php
index
f933dca
..
a3a184e
100644
(file)
--- a/
SimpleExcel.php
+++ b/
SimpleExcel.php
@@
-370,6
+370,18
@@
class Pman_Core_SimpleExcel extends Pman
}
if (isset($col_cfg['renderer'])) {
$hasRender = true;
+
+ $v = isset($cl[$col_cfg['dataIndex']]) ? $cl[$col_cfg['dataIndex']] : '';
+ if (empty($cl[$col_cfg['dataIndex']])) {
+ continue;
+ }
+ $this->postRender[] = array(
+ $col_cfg['renderer'], $cl[$col_cfg['dataIndex']], $worksheet, $r+1, $c, $cl;
+ );
+
+
+
+
continue;
}