if (isset($cfg['row_height'])) {
$worksheet->setRow($start_row +$r, $cfg['row_height']);
}
- print_r(count($cfg['cols']));exit;
+
foreach($cfg['cols'] as $c=>$col_cfg) {
$v = isset($cl[$col_cfg['dataIndex']]) ? $cl[$col_cfg['dataIndex']] : '';
if (empty($cl[$col_cfg['dataIndex']])) {