Skip to content

Worksheets are hidden by default #648

@Tilogorn

Description

@Tilogorn

Referencing issue #630 and #632
This bug came with version 1.5.0 since one can show/hide worksheets.

Minimal working example:

var Excel = require('exceljs');
var workbook = new Excel.Workbook();
var sheet1 = workbook.addWorksheet('S1');
var sheet2 = workbook.addWorksheet('S2');

var fn = 'mwe.xlsx';
workbook.xlsx.writeFile(fn)
    .then(function () {
        console.log('Spreadsheet "' + fn + '" generated');
    });

outputs

bildschirmfoto vom 2018-09-14 13-54-12

As the documentation for the "new" (v1.5.0!) hide/show feature is not the best, providing a workaround would be nice. At least knowing how to access the show/hide API correctly would be nice until someone can fix it.

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