We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Description
When using LibreOffice, the autofilter only works if the sheet name doesn't have spaces It works fine on Google Sheets, I didn't test on MS Office
Steps to reproduce the issue:
package main import "github.com/xuri/excelize/v2" func main() { f := excelize.NewFile() fill := func(s string) { f.SetCellStr(s, "A1", "hi") f.SetCellStr(s, "A2", "2") f.SetCellStr(s, "A3", "3") f.AutoFilter(s, "A1", "A3", "") } f.SetSheetName("Sheet1", "works") fill("works") f.NewSheet("Doesnt work") fill("Doesnt work") f.SaveAs("testoutput.xlsx") }
Output of go version:
go version
go version go1.17.6 linux/amd64
Excelize version or commit ID:
v2.5.0
Environment details (OS, Microsoft Excel™ version, physical, etc.): LibreOffice 7.2.5 ArchLinux, up to date
The text was updated successfully, but these errors were encountered:
50c4ded
Thanks for your issue. I have fixed it, please try upgrading to the master branch code, and this patch will be released in the next version.
Sorry, something went wrong.
This closes qax-os#1122, improve compatibility with LibreOffice
02efd3b
Fixed the issue auto filter doesn't work on LibreOffice if the sheet name has spaces
a119aec
No branches or pull requests
Description
When using LibreOffice, the autofilter only works if the sheet name doesn't have spaces
It works fine on Google Sheets, I didn't test on MS Office
Steps to reproduce the issue:
Output of
go version
:Excelize version or commit ID:
Environment details (OS, Microsoft Excel™ version, physical, etc.):
LibreOffice 7.2.5
ArchLinux, up to date
The text was updated successfully, but these errors were encountered: