modifs.mineures sans commentaires

This commit is contained in:
Jephté Clain 2024-06-13 04:31:55 +04:00
parent acb643d4dc
commit 7a8a699294
1 changed files with 4 additions and 0 deletions

View File

@ -73,6 +73,10 @@ class SsBuilder extends AbstractBuilder {
}
if ($styleHeader) {
$ws->getStyle("$nrow:$nrow")->getFont()->setBold(true);
$maxcol = count($row);
for ($ncol = 1; $ncol <= $maxcol; $ncol++) {
$ws->getColumnDimensionByColumn($ncol)->setAutoSize(true);
}
}
}