as athor answer on internet
people doing the `
WrapText: true
` to make WrapText in a cell, but today,I want to WrapText to a new row, and when i type "/n" in cell ,code will wrapText to a new row.
this is what i expecting: enter image description here can finally becom this enter image description here and this is my code `
paymentTermStyle, _ := f.NewStyle(`{
"alignment":{
"wrap_text":true
},
"font": {
"family": "Times New Roman"
}
}`)
f.SetCellStyle("PI", "A48", "A48", paymentTermStyle)
` thanks for helping
add "WrapText:true" in excelize.Style struct like this