Closed
Description
🐛 Bug Report
Row.actualCellCount and Row.cellCount are reversed if empty column present
Input:
A|B|C
1| |1
Lib version: 4.1.1
Steps To Reproduce
const workbook = new Excel.Workbook()
await workbook.xlsx.load(input)
workbook.eachSheet(sheet => {
const row = sheet.getRow(2)
console.log(`columnCount ${sheet.columnCount}`) //columnCount 3
console.log(`actualCellCount ${row.actualCellCount}`) //actualCellCount 2
console.log(`cellCount ${row.cellCount}`) //cellCount 3
})
The expected behaviour:
actualCellCount
must return actual cells count including empty cells, i.e. 3 in described above example
Metadata
Metadata
Assignees
Labels
No labels