You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set Row height using function SetRowHeight - e.g: file.SetRowHeight("Sheet1", 1, 30)
Create StreamWriter from file.
Flush StreamWriter using function streamWriter.Flush().
Check row height using function GetRowHeight.
Describe the results you received:
Row height is reset to default.
Note: - Result still the same if row height is set via : streamWriter.File.SetRowHeight("Sheet1", 1, 30)
- Set row height after streamWriter.Flush() will do but the file output still keep the default height.
Describe the results you expected:
Row height is updated correctly.
So can you provide any solutions for me to set height is this case.
Because the height is set using common API before create stream as mentioned in the above steps.
Thank @xuri,
My file have complex functions (merge cells, panel..) with big data (always 20000 rows ) so I must use stream for the best output performance.
Currently, I'm using excelize v2.3.1 without problem with SetRowHeight function but have a little performance issue with merge cells.
And you guys have done amazing job for improved the performance so much in v2.4.0 . So I tried to apply this but got problem with the Height :(.
Thanks anyway
Description
Steps to reproduce the issue:
Describe the results you received:

Row height is reset to default.
Note: - Result still the same if row height is set via : streamWriter.File.SetRowHeight("Sheet1", 1, 30)

- Set row height after streamWriter.Flush() will do but the file output still keep the default height.
Describe the results you expected:
Row height is updated correctly.
Code Sample
Output of
go version
:Excelize version or commit ID:
Environment details (OS, Microsoft Excel™ version, physical, etc.):
Windows 10 Pro, Office professional plus 2016
The text was updated successfully, but these errors were encountered: