Skip to content

ExcelJS not able to load file #1621

Open
@paramjeetnandal

Description

@paramjeetnandal

Library is not able to read some of the formats of Excel using function
Code I am using to read the file:
code just hangs on line: workbook.xlsx.load(data).then(function() {

const workbook = new ExcelJS.Workbook();
const listData: any = [];
const arryBuffer = new Response(file).arrayBuffer();
arryBuffer.then(function(data) {
workbook.xlsx.load(data).then(function() {//code hangs here
const worksheet = workbook.getWorksheet(1);

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