From 8481e6d4d000fb59dcad6491b26f100dc75b496e Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 18 Oct 2016 12:47:53 +0800 Subject: [PATCH] SimpleExcel.php --- SimpleExcel.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SimpleExcel.php b/SimpleExcel.php index 155c7925..4153fd83 100644 --- 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'), - '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 ), -- 2.39.2