Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] 对某一个列设置了style: { border},位于这个列后的所有列都生效了。 #2228

Open
zhiguow opened this issue Mar 15, 2023 · 1 comment

Comments

@zhiguow
Copy link

zhiguow commented Mar 15, 2023

🐛 Bug Report

对某一个列设置了style: { border},位于这个列后的所有列都生效了。

Steps To Reproduce

const wb = new ExcelJS.Workbook();
const ws = wb.addWorksheet('XYZ');
ws.columns = [
     { header: '', key: 'myBorder', width: 20, style: { border: { right: {style:'double', color: {argb:'FFFF0000'}}, }, },},
     { header: '', key: '', width: 20,},
]

The expected behaviour:

只对一个列的border完成style设置

@zurmokeeper
Copy link
Contributor

pr#1573 seems to be talking about this problem, but has not been merged, after the merger should be able to solve the problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants