SimpleExcel.php
authorAlan Knowles <alan@roojs.com>
Fri, 12 Sep 2014 05:21:43 +0000 (13:21 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 12 Sep 2014 05:21:43 +0000 (13:21 +0800)
SimpleExcel.php

index 53d055c..362aa35 100644 (file)
@@ -31,6 +31,7 @@
  *              'dataFormat' => 'string' // to force a string..
                 'width'=>  75,
                 'renderer' => array($this, 'getThumb'),
+                'txtrenderer' => array($this, 'getThumb'), 
  *              '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
             ),
             
         'leave_open' => false  
             
+            
+        // callbacks: renderer
+        
+        function($value, $worksheet, $row, $col, $row_data)
+        
+        // callbacks : txtrenderer
+        function($value, $worksheet, $row, $col, $row_data)
+                        
+            
+            
  */