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

Adding styling to a sheet tab #266

Open
Elian-Braja opened this issue Jun 30, 2022 · 5 comments
Open

Adding styling to a sheet tab #266

Elian-Braja opened this issue Jun 30, 2022 · 5 comments

Comments

@Elian-Braja
Copy link

I want to add custom styling to my sheet tab boxes and I can't find any way to do this with Spreadsheet gem

@zdavatz
Copy link
Owner

zdavatz commented Jul 1, 2022

Like what? Custom colors? See the guide: https://github.com/zdavatz/spreadsheet/blob/master/GUIDE.md#writing-is-easy

@Elian-Braja
Copy link
Author

Elian-Braja commented Jul 1, 2022

On the documentation I can only add styling to excel cells but not tabs. I am referring to sheet tabs
Screenshot from 2022-07-01 16-58-37
.
On the example below I want to color Space Ideas, SpaceMembers and SpaceSettings tab boxes to have background color

@zdavatz
Copy link
Owner

zdavatz commented Jul 1, 2022

@elianbraja
Copy link

elianbraja commented Jul 1, 2022

I can render the excel with multiple sheets using spreadsheet gem. The only problem, as I mentioned is to color those sheet boxes as shown in the screenshot. The link provided by you has nothing to do with styling them. I am not referring to the sheet content, but to the sheet box as shown in the image.

@zdavatz
Copy link
Owner

zdavatz commented Jul 4, 2022

The color of the sheet boxes I do not know, sorry. You will have to dig into the code I guess.

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

3 participants