Skip to content

Write Workbook (containg two worksheets) in CSV file #632

@jcabannes

Description

@jcabannes

I am developing an angular 6 app and I am trying to write in a csv file a workbook containg two worksheets with this code :

    const workBook: Excel.Workbook = this.setupDownload();
    workBook.csv.writeBuffer().then( data => {
      const blob: Blob = new Blob( [data], {type: 'text/plain;charset=utf-8'} );
      saveAs( blob, 'virga.csv');
    });

But I only got the first worksheet in the downloaded csv file.

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