Skip to content

[BUG] worksheet.insertRow is not a function #1333

Closed
@KazakovKirill

Description

@KazakovKirill

🐛 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:

https://github.com/exceljs/exceljs#insert-rows

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions