[BUG] worksheet.insertRow is not a function
See original GitHub issue🐛 Bug Report
When trying to use insertRow (or insertRows) method I getting error: TypeError: worksheet.insertRow is not a function
Lib version: “4.0.1”
Steps To Reproduce
const workbook = new Excel.Workbook()
const worksheet = workbook.addWorksheet('demo')
worksheet.insertRow(1, [3, 'Sam', new Date()])
The expected behaviour:
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Insert row is not a function - Stack Overflow
The HTMLTableElement.insertRow() method inserts a new row in the table and returns a reference to the new row. Then insertRow() function ...
Read more >Code does not work in function node but works fine when run ...
Hi friends, I am using ExcelJS to write array to excel. and it's working fine when i run it using node exceltest.js const...
Read more >Updating Excel worksheet - Update Row or Insert Row issue
Updating Excel worksheet - Update Row or Insert Row issue ... As far as I know, tables in Excel with formula are not...
Read more >Excel Fix: Insert Row Option Greyed out (9 Solutions)
The Insert Row option can become greyed out if the worksheet is protected. Select Review >> Unprotect Sheet to unprotect the worksheet. Hopefully,...
Read more >exceljs - npm.io
It helps me know what features are desired or what bugs are causing the ... Use the second parameter of the addWorksheet function...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Looks like they had a PR recently for
insertRow
in #1324 that was merged, probably just haven’t cut a new version tag yet to get it in since that went in 9 days ago, and the last version was 18 days.Closing this, as we just need to wait for the release: https://github.com/exceljs/exceljs/issues/1362