bigabdoul / fast-xlsx-reader

A Node package used for efficiently reading row-by-row an Excel worksheet.
MIT License
8 stars 3 forks source link

Empty cell in xlsx file makes row data "collapse" #2

Closed jakub-gawryl closed 4 years ago

jakub-gawryl commented 4 years ago

I defined column names, set hasHeader: true and use that schema: const schema = { "COL_A": {prop: "A"}, "COL_B": {prop: "B"}, "COL_C": {prop: "C"}, "COL_D": {prop: "D"} }; but looks like column names are not respected, when some cell values is missing

Example file: obraz

Result: obraz

Additional info: input.xlsx file was created using LibreOffice Calc 6.4.3.2 (x64) on Windows 10 system. Tested on node.js: 11.15.0 and 12.16.2