-
Notifications
You must be signed in to change notification settings - Fork 58
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
Border on merged cell not working #9
Comments
Hi @sonizef, I take some tests with your sample and not find the reason of this happen. If you could, you can send me a message and I can try to help you to find the error |
Hi, I am having this same issue. Did you figure out what the problem was? |
No, I always have the problem. To keep my exemple, you can add top border en B2 et C2, left border on D1. But for top border, no solution :/ |
I have also encountered such a problem. Is there any solution |
The reason for this problem is: |
Sorry . for my english skill is't good Border Not render Because
|
Hi, I am having this same issue. Did you figure out what the problem was? |
@sonizef, @cristianoaro, @MalickBurger, @cyansming, @gitbrent Do you guys found the solution? Actually I got in to the problem with client and this is compulsory for me to fix this issue otherwise client will file the dispute |
You need to define the style of every merged cell. Here is my example: const titleStyle = {
t: 's',
s: {
font: {
bold: true,
sz: 14
},
border: {
top: {
style: 'thin',
color: '#000'
},
bottom: {
style: 'thin',
color: '#000'
},
left: {
style: 'thin',
color: '#000'
},
right: {
style: 'thin',
color: '#000'
}
}
}
}
const firstRow = [
{
v: 'This is a title',
...titleStyle
},
{
v: '',
...titleStyle
}
]
ws['!merges'] = [
{s: {r: 0, c: 0}, e: {r: 0, c: 1}},
] |
Seems like it's still not working with latest version. (1.2.0)
|
Hello !
I've some issue with merged cell and border style.
My cells :
Here is my merge :
And the result :
Any idea ? 😄
The text was updated successfully, but these errors were encountered: