|
@@ -162,6 +162,7 @@ func (sb *StreamFileBuilder) AddSheetWithStyle(name string, cells []StreamCell)
|
|
|
// Set default column types based on the cel types in the first row
|
|
// Set default column types based on the cel types in the first row
|
|
|
for i, cell := range cells {
|
|
for i, cell := range cells {
|
|
|
sheet.Cols[i].SetType(cell.cellType)
|
|
sheet.Cols[i].SetType(cell.cellType)
|
|
|
|
|
+ sheet.Cols[i].Width = 11
|
|
|
}
|
|
}
|
|
|
return nil
|
|
return nil
|
|
|
}
|
|
}
|