fix
parent
5f6aec0aee
commit
58753da6f9
|
@ -27,7 +27,6 @@ type CellLocation struct {
|
||||||
|
|
||||||
func (e *Exporter) SetCell(sheet string, cell Cell) {
|
func (e *Exporter) SetCell(sheet string, cell Cell) {
|
||||||
start_col, end_col := e.CaculateCell(cell.Location, cell.Rowspan, cell.Colspan)
|
start_col, end_col := e.CaculateCell(cell.Location, cell.Rowspan, cell.Colspan)
|
||||||
fmt.Println(sheet, start_col, end_col, cell.Value)
|
|
||||||
if start_col != end_col {
|
if start_col != end_col {
|
||||||
e.xlsx.MergeCell(sheet, start_col, end_col)
|
e.xlsx.MergeCell(sheet, start_col, end_col)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue