6) Fixed bug on Row.LastCol() when data is actually present but Row.info.Lcell=0 (ms excel shows the data)
This commit is contained in:
parent
6a276445b2
commit
0698fa2730
@ -213,6 +213,9 @@ func (w *WorkSheet) addContent(row_num uint16, ch contentHandler) {
|
|||||||
info.Index = row_num
|
info.Index = row_num
|
||||||
row = w.addRow(info)
|
row = w.addRow(info)
|
||||||
}
|
}
|
||||||
|
if row.info.Lcell < ch.LastCol() {
|
||||||
|
row.info.Lcell = ch.LastCol()
|
||||||
|
}
|
||||||
row.cols[ch.FirstCol()] = ch
|
row.cols[ch.FirstCol()] = ch
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user