exceljs / exceljs

Excel Workbook Manager

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Losing formatting/pivot table from loaded file

akramhussein opened this issue · comments

Finding that when I load an xlsx file that has a pivot table, with or without adding data, it is lost upon saving. Further, the font changes from white to black.

I've tried streaming and non-streaming - same result.

@akramhussein - I've just published 0.4.2, which I'm hoping will resolve this issue.
I'm not sure about the pivot tables, ExcelJS doesn't handle them explicitly but there was an issue with themes.
Could you check whether your issue has been resolved?

@guyonroche The xlsx is still losing pivot table upon saving. (using 0.4.4 version).
The issue with pivot table hasn't resolved yet.
The pivot table is being converted in a regular sheet.

Is there any update on this, by any chance? :)

+1... any update?

+1 ... any update ?

+1 ... any update ?

any update

Any update for this?

any update regarding losing pivot table upon saving?

Is this bug still present or am I doing something wrong?

@andrelung It's still present. Loading a spreadsheet from a file then saving it to file breaks the pivot table and all of its formatting.

Any updates here?

Any updates here? I want to read pivot table

Any update?

It would be great, if we could even only pass through a template with existing pivot tables and add / modify other worksheets.

Does anyone know a workaround for this issue?

Is any one watching this library able and interested in adding support for Pivot Tables as a paid project?
The basic idea would be to allow pivot tables to be created anew and existing ones to be preserved.
An ideal deliverable might be an accepted pull request to this library with the above functionality and unit test.
Feel free to contact me directly to discuss.

I have some basic notes in this related issue. #1392 (comment). I think the big challenge is not so much the pivot table definitions but creating the cached content that is saved in the spreadsheet as cell values. We can start with a small proof of concept example to test feasibility.