From: Alan Knowles Date: Tue, 18 Oct 2016 04:47:53 +0000 (+0800) Subject: SimpleExcel.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=8481e6d4d000fb59dcad6491b26f100dc75b496e SimpleExcel.php --- 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 ),