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

questions on merged cells styling #1

Closed
ChristianYeah opened this issue Nov 9, 2020 · 1 comment
Closed

questions on merged cells styling #1

ChristianYeah opened this issue Nov 9, 2020 · 1 comment

Comments

@ChristianYeah
Copy link

firstly, thank you for open sourcing this great project.

I have one question on merged cell's style,

Supposed I have merged area from A1 to A10

the border style could only be applied to A1, and 2~10 is not defined in the Sheets.SheetN object.

How could I apply border's style to the merged cell in this circumstance.

Thank you

@ShanaMaid
Copy link
Owner

only set style for A1
eg:
ws['A1'].s = {
font: {
name: '宋体',
sz: 24,
bold: true,
color: { rgb: "FFFFAA00" }
},
};

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