projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09f4e36
)
SimpleExcel.php
author
Edward
<edward@roojs.com>
Wed, 23 Jan 2013 08:18:25 +0000
(16:18 +0800)
committer
Edward
<edward@roojs.com>
Wed, 23 Jan 2013 08:18:25 +0000
(16:18 +0800)
SimpleExcel.php
patch
|
blob
|
history
diff --git
a/SimpleExcel.php
b/SimpleExcel.php
index
eb68cde
..
79a52f3
100644
(file)
--- a/
SimpleExcel.php
+++ b/
SimpleExcel.php
@@
-163,7
+163,9
@@
class Pman_Core_SimpleExcel extends Pman
foreach($cfg['cols'] as $c=>$col_cfg) {
$v = isset($cl[$col_cfg['dataIndex']]) ? $cl[$col_cfg['dataIndex']] : '';
if (empty($cl[$col_cfg['dataIndex']])) {
- $worksheet->write($start_row+$r, $c, '', $formats['gray']);
+ if(isset($data['fillBlank'])){
+ $worksheet->write($start_row+$r, $c, '', $formats[$data['fillBlank']]);
+ }
continue;
}
if (isset($col_cfg['txtrenderer'])) {