-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
How can I fix the issue of cell borders disappearing from the custom table style? #2048
New issue
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
Comments
Thanks for your issue. Which version of this library are you using? Could you show us a complete, standalone example program or reproducible demo? If you open an existing workbook, please provide the file attachment without confidential info. |
I am currently using version v2.9.0. [ package main
import (
"flag"
"fmt"
"github.com/xuri/excelize/v2"
)
func main() {
file_name := flag.String("file", "", "Input file Name")
flag.Parse()
fmt.Println(*file_name, *order_code)
f, err := excelize.OpenFile(*file_name)
if err != nil {
fmt.Println(err)
return
}
tables, err := f.GetTables("Sheet1")
if err != nil {
fmt.Println(err)
return
}
fmt.Println(tables)
if err := f.SaveAs("test1.xlsx",); err != nil {
fmt.Println(err)
}
} |
Thanks for your feedback. I fixed this, please upgrade to the master branch code, and this patch will be released in the next verison. |
Thank you for your prompt response. I have confirmed that everything is working properly. Thank you again. |
Uh oh!
There was an error while loading. Please reload this page.
I created a custom table style in an MS Excel sheet using the Excel program. The style includes cell borders for each cell.
However, after saving and closing the Excel file, when I reopen it and save it again using Excelize, the cell borders from my custom table style disappear.
Is there a way to resolve this issue?
The text was updated successfully, but these errors were encountered: