$worksheet->setRow($start_row +$r, $cfg['row_height']);
}
+ $height = 20;
+
foreach($cfg['cols'] as $c => $col_cfg) {
if(isset($col_cfg['dataIndex']) && isset($cl[$col_cfg['dataIndex']])){
// if(isset($col_cfg['autoHeight'])){
$vv = explode("\n", $v);
- $height = count($vv) * 20;
-
- $worksheet->write($start_row+$r, $height);
+ $height = MAX(count($vv) * 20, $height);;
+ $worksheet->setRow($start_row+$r, null);
// }
}
$this->start_row++;