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

hasHeader: false skipping first row #1

Closed jakub-gawryl closed 4 years ago

jakub-gawryl commented 4 years ago

When i set hasHeader: false in options, first row is skipped in "onRecord" callback.

Example excel file: obraz

Example result: obraz

I'm using schema: const schema = [ {prop: "A"}, {prop: "B"}, {prop: "C"}, {prop: "D"} ];

bigabdoul commented 4 years ago

Alright, I will look at this. Thanks for reporting back issues.