SimpleExcel.php
authorEdward <edward@roojs.com>
Wed, 23 Jan 2013 08:16:28 +0000 (16:16 +0800)
committerEdward <edward@roojs.com>
Wed, 23 Jan 2013 08:16:28 +0000 (16:16 +0800)
SimpleExcel.php

index 485c5d6..eb68cde 100644 (file)
@@ -163,6 +163,7 @@ class Pman_Core_SimpleExcel extends Pman
             foreach($cfg['cols']  as $c=>$col_cfg) {
                 $v = isset($cl[$col_cfg['dataIndex']]) ? $cl[$col_cfg['dataIndex']] : '';
                 if (empty($cl[$col_cfg['dataIndex']])) {
+                    $worksheet->write($start_row+$r, $c, '', $formats['gray']);
                     continue;
                 }
                 if (isset($col_cfg['txtrenderer'])) {