projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d472b24
)
SimpleExcel.php
author
Edward
<edward@roojs.com>
Tue, 22 Jan 2013 07:30:01 +0000
(15:30 +0800)
committer
Edward
<edward@roojs.com>
Tue, 22 Jan 2013 07:30:01 +0000
(15:30 +0800)
SimpleExcel.php
patch
|
blob
|
history
diff --git
a/SimpleExcel.php
b/SimpleExcel.php
index
f0b849a
..
b5760ad
100644
(file)
--- a/
SimpleExcel.php
+++ b/
SimpleExcel.php
@@
-146,18
+146,12
@@
class Pman_Core_SimpleExcel extends Pman
foreach($cfg['cols'] as $c=>$col_cfg) {
-
- print_r($start_row);
- print_r('<br/>');
- print_r($c);
- print_r('<br/>');
- print_r($col_cfg['header']);
- print_r('<br/>');
+
$worksheet->write($start_row, $c, $col_cfg['header']);
$worksheet->setColumn ( $c, $c, $col_cfg['width'] / 5);
}
- exit;
+
$start_row++;
$hasRender = false;
// DB_DataObject::debugLevel(1);