projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8d816a4
)
SimpleExcel.php
author
Alan Knowles
<alan@roojs.com>
Tue, 18 Oct 2016 04:47:53 +0000
(12:47 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 18 Oct 2016 04:47:53 +0000
(12:47 +0800)
SimpleExcel.php
patch
|
blob
|
history
diff --git
a/SimpleExcel.php
b/SimpleExcel.php
index
155c792
..
4153fd8
100644
(file)
--- a/
SimpleExcel.php
+++ b/
SimpleExcel.php
@@
-33,7
+33,9
@@
new Pman_Core_SimpleExcel($data_array, array(
'dataFormat' => 'string' // to force a string..
'width'=> 75,
'renderer' => array($this, 'getThumb'),
'dataFormat' => 'string' // to force a string..
'width'=> 75,
'renderer' => array($this, 'getThumb'),
- 'txtrenderer' => array($this, 'cleanValue'), // for text content...
+ 'txtrenderer' => function($value, $worksheet, $row, $col, $row_data) {
+ return $value
+ }, // for text content...
'color' => 'yellow', // set color for the cell which is a header element
'fillBlank' => 'gray', // set the color for the cell which is a blank area
),
'color' => 'yellow', // set color for the cell which is a header element
'fillBlank' => 'gray', // set the color for the cell which is a blank area
),