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

Add Borders to Entire Rows / Columns #83

Open
madhaven opened this issue Aug 18, 2023 · 1 comment
Open

Add Borders to Entire Rows / Columns #83

madhaven opened this issue Aug 18, 2023 · 1 comment

Comments

@madhaven
Copy link

Is your feature request related to a problem? Please describe.
I want to border an entire Row.
I tried accessing the row and adding a style:

    const wb = new xl.Workbook()
    const thinUnderline = wb.createStyle({
        border: { bottom: { style: 'thin', color: 'black' }}
    })
    ws.row(3).style(thinUnderline)

but it returns the following error:
Error occurred in handler for 'test': TypeError: ws.row(...).style is not a function

Describe the solution you'd like
I believe adding formatting to entire rows is not yet a feature that this library supports.
I'm willing to contribute but I would need some guidance.

@madhaven
Copy link
Author

I found exceljs to be a better alternative.

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