SheetJS / sheetjs

đź“— SheetJS Spreadsheet Data Toolkit -- New home https://git.sheetjs.com/SheetJS/sheetjs

Home Page:https://sheetjs.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrong quantity of columns and rows

billcunha opened this issue · comments

Hi!
I'm using the aoa_to_sheet util with a tiny array 2x2, but I'm receiving a sheet with 5 columns and 10 rows. To test, I use the Complete Example , exactly same code, and faced the same issue.
How I can solve this?
Thanks :)

The number of rows and columns are determined by the size of the data and the specified origin parameter. If you can share the data (console.log(aoa)) and the actual call that generates the worksheet, we can take a closer look.