|
@@ -233,6 +233,7 @@ func (s *Sheet) makeXLSXSheet(refTable *RefTable, styles *xlsxStyleSheet) *xlsxW
|
|
|
} else {
|
|
} else {
|
|
|
customWidth = true
|
|
customWidth = true
|
|
|
}
|
|
}
|
|
|
|
|
+ // When the cols content is empty, the cols flag is not output in the xml file.
|
|
|
if worksheet.Cols == nil {
|
|
if worksheet.Cols == nil {
|
|
|
worksheet.Cols = &xlsxCols{Col: []xlsxCol{}}
|
|
worksheet.Cols = &xlsxCols{Col: []xlsxCol{}}
|
|
|
}
|
|
}
|