Sheetjs: I read a file, save the fIle, background colors are lost,and some other style lost

Created on 12 Jun 2017  Â·  7Comments  Â·  Source: SheetJS/sheetjs

var workbook=XLSX.readfile('aa.xlsx',{cellStyles:true});
XLSX.writeFile(workbook,'aaaa.xlsx')

why??
no suport?

Style

Most helpful comment

protobi/js-xlsx support write style to cell

All 7 comments

before:
be5ad688cf7821eec35102d12a724cd2

after:
7dc3377142216ea6e23d5189c0edc767

protobi/js-xlsx support write style to cell

@shikelong can you give a demo js for how to use the test-style.js for setting style? I am new one for sheetJS

To answer the original question, there is no support for writing styles. Just reading.

protobi/js-xlsx support write style to cell

@vinhboy does function cell.s not work?

@pumpkindev could you explain how to use protobi/js-xlsx correctly?
I has installed both xlsx and xlsx-style npm packages, but style is not applied.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

HachimDev picture HachimDev  Â·  3Comments

Sankrish picture Sankrish  Â·  4Comments

gustavosimil picture gustavosimil  Â·  3Comments

DannyRyman picture DannyRyman  Â·  3Comments

thomasledoux1 picture thomasledoux1  Â·  3Comments