exceljs / exceljs/exceljs

[BUG] Style not implemented for cell

Open
#2,825 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
15.5k
Forks
2k
PR merge metrics
No merged PRs in 30d

Description

## 🐛 Bug Report

in the file cell-xform.js I fix the next part.
Add validation for variable (**cellStylesCache?**)

```
if (cellStylesCache?.has(modelStyleKey)) {
model.styleId = cellStylesCache.get(modelStyleKey);
}

if (!model.styleId) {
const styleId = options.styles.addStyleModel(modelStyle, getEffectiveCellType(model));
if (styleId) {
model.styleId = styleId;
cellStylesCache?.set(modelStyleKey, styleId);
}
}
```

it's work for me now

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.