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
Description
Why is the Excel export speed slow after setting custom number formats?
In a 200*300 Excel report. The logic previously was to not fill cells with data that was 0, but the new requirement is to fill and display cells with 0 data as invisible. Upon inquiry, I found that the following method can be used to set the custom number format: style := excelize.Style{} customerNumStyle := "0;-0;;@" style.CustomNumFmt = &customerNumStyle
However, after setting the style, I found that the export speed of Excel has become very slow. Tasks that used to be completed in less than a second now might require waiting for three to four seconds. Is there a way to solve this?
There is not enough info of code and attachments to reproduce this issue. Could you follow the issue template to show us a complete, standalone example program or reproducible demo? If you open an existing workbook, please provide the file attachment without confidential info.
Description
Why is the Excel export speed slow after setting custom number formats?
In a 200*300 Excel report. The logic previously was to not fill cells with data that was 0, but the new requirement is to fill and display cells with 0 data as invisible. Upon inquiry, I found that the following method can be used to set the custom number format:
style := excelize.Style{} customerNumStyle := "0;-0;;@" style.CustomNumFmt = &customerNumStyle
However, after setting the style, I found that the export speed of Excel has become very slow. Tasks that used to be completed in less than a second now might require waiting for three to four seconds. Is there a way to solve this?
Steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Output of
go version
:Excelize version or commit ID:
Environment details (OS, Microsoft Excel™ version, physical, etc.):
Windows11、Microsoft Excel 2019
The text was updated successfully, but these errors were encountered: