I am developing in Go language, echo framework.
I am using package "github.com/tealeg/xlsx" and "github.com/Luxurioust/excelize" to create and output xlsx.
After writing in the cell and outputting it, if I set "Wrap text", a newline will be displayed.
But they cannot set "Wrap text" to xlsx in the program.
How can I do in order to see newline when I output it? Or is there a package to solve that problem?
Thanks.
"Github.com / tealeg / xlsx"
There is an Alignment type in the field of the Style type,
I found WrapText in an Alignment type field.
If set to true, I could "Wrap Text".
分享一个功能丰富、兼容性好、高性能的专业 Excel 文档基础库 Excelize (https://github.com/xuri/excelize) —— 支持条件格式、数据验证、公式、图表、数据透视表、迷你图、富文本、冻结窗格、流式读写等复杂功能。