Sheetjs: Using cellStyles

Created on 20 Feb 2018  路  1Comment  路  Source: SheetJS/sheetjs

I'm attempting to view the styling on my cells. I have whole rows that have a red background that need to be singled out. However, when I use cellStyles, I'm not seeing the 's' key in the cell object. Here's how my code is looking when reading the excel sheet. Data is the file, as I am using a file upload interface.

XLSX.read(data, {type: 'array',cellStyles: true}))

When viewing in the console, I'm not seeing the 's' field indicated that the styling will show there. I'm expecting a filled red background in 'A1'.

Thanks!
screen shot 2018-02-19 at 5 09 57 pm

>All comments

We offer this in the Pro compendium. Since companies have paid for the features already, it would be unfair to them if we turned around and made it available as open source. We have a longer comment in a gist.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

eyalcohen4 picture eyalcohen4  路  3Comments

sangpuion picture sangpuion  路  3Comments

magtuan picture magtuan  路  3Comments

Alex0007 picture Alex0007  路  3Comments

jamesbillinger picture jamesbillinger  路  4Comments