SimpleExcel.php
authorAlan Knowles <alan@roojs.com>
Tue, 21 May 2019 08:57:24 +0000 (16:57 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 21 May 2019 08:57:24 +0000 (16:57 +0800)
SimpleExcel.php

index f933dca..a3a184e 100644 (file)
@@ -370,6 +370,18 @@ class Pman_Core_SimpleExcel extends Pman
             }
             if (isset($col_cfg['renderer'])) {
                 $hasRender = true;
+                
+                $v = isset($cl[$col_cfg['dataIndex']]) ? $cl[$col_cfg['dataIndex']] : '';
+                if (empty($cl[$col_cfg['dataIndex']])) {
+                    continue;
+                }
+                $this->postRender[] = array(
+                    $col_cfg['renderer'], $cl[$col_cfg['dataIndex']], $worksheet, $r+1, $c, $cl;
+                );
+                  
+                
+                
+                
                 continue;
             }