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

Right border not shown in merged cells #100

Open
pferioli opened this issue Jul 12, 2024 · 0 comments
Open

Right border not shown in merged cells #100

pferioli opened this issue Jul 12, 2024 · 0 comments

Comments

@pferioli
Copy link

Describe the bug
The right border of merged cells is not drawn

To Reproduce

worksheet.cell(1, 1, 1, 2, true).string("SEMANA").style({
                    alignment: {
                        wrapText: false,
                        horizontal: 'center',
                        vertical: 'center'
                    },
                    fill: {
                        type: 'pattern',
                        patternType: 'solid',
                        bgColor: "#ff0000",
                        fgColor: "#ff0000",
                    },
                    font: {
                        color: 'black',
                        size: 11,
                    },
                    border: { // §18.8.4 border (Border)
                        left: {
                            style: "thin",
                            color: "#000000"
                        },
                        right: {
                            style: "thin",
                            color: "#000000"
                        },
                        top: {
                            style: "thin",
                            color: "#000000"
                        },
                        bottom: {
                            style: "thin",
                            color: "#000000"
                        },
                        outline: true
                    },
                });

Expected behavior
The cell should have the 4 borders in thin black

Environment (please complete the following information):

  • Node Version: v20.15.0
  • excel4node Version: 1.8.2
  • Application: Microsoft Excel, Numbers

Additional context
After setting the style to have the four sides of the cell with a border the right one is not present. I Included one example but in the image can see this happens in all merged cells

image

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

1 participant