Reading data (Number) not populating 'Text' (cell.w) property #3016

Open
opened 2023-10-19 08:36:53 +00:00 by rodrigocesaar · 2 comments

Hi,

Not sure if this is the right way to check whether it is a bug or not. I am trying to read an excel file, putting the option to cellNF:true just to see the formats for numbers. For some cells, like the 'H516', is not coming up the cell.w, the 'Text' property. Opening the xml files inside, I can see this cell has an attached style. Can I ask for help?

I noticed the docs say this property will be populated "if applicate". I thought it would always be populated for Number.

Thanks,
Rodrigo

Hi, Not sure if this is the right way to check whether it is a bug or not. I am trying to read an excel file, putting the option to `cellNF:true` just to see the formats for numbers. For some cells, like the 'H516', is not coming up the `cell.w`, the 'Text' property. Opening the xml files inside, I can see this cell has an attached style. Can I ask for help? I noticed the docs say this property will be populated "if applicate". I thought it would always be populated for Number. Thanks, Rodrigo
247 KiB
Owner

Thanks for sharing!

The formatted text doesn't exist in the file. There is a separate function that takes the number format and the value and generates the formatted text.

There are a few custom number formats in the file (e.g. ###,###,##0.00) that are not currently supported by the formatting library. We'll take a closer look.

Thanks for sharing! The formatted text doesn't exist in the file. There is a separate function that takes the number format and the value and generates the formatted text. There are a few custom number formats in the file (e.g. `###,###,##0.00`) that are not currently supported by the formatting library. We'll take a closer look.
Author

Thanks for the explanation!

Thanks for the explanation!
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sheetjs/sheetjs#3016
No description provided.