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

seanmcilvenna picture seanmcilvenna  路  3Comments

thomasledoux1 picture thomasledoux1  路  3Comments

gustavosimil picture gustavosimil  路  3Comments

upasana-shah picture upasana-shah  路  4Comments

dullin picture dullin  路  3Comments