exceljs / exceljs/exceljs

[BUG] table方法数字金额设置格式不生效

Open
#1,548 1 comment 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

Lib version: X.Y.Z

## Steps To Reproduce

```javascript
const wb = new ExcelJS.Workbook();
const ws = wb.addWorksheet('XYZ');

ws.getCell('A1').value = 7;
expect(ws.getCell('A1').value).to.equal(7);
```

## The expected behaviour:

## Possible solution (optional, but very helpful):

```javascript
worksheet.columns = [
{width: 30},
{width: 30},
{width: 10},
{width: 30},
{width: 10},
{width: 30},
{width: 30},
{width: 40},
{width: 10},
{width: 20},
{width: 10, numFmt: '0.00%'},
{width: 10},
];
```

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.