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

Format all rows nicely and consistent #260

Open
dalito opened this issue Jan 30, 2025 · 0 comments
Open

Format all rows nicely and consistent #260

dalito opened this issue Jan 30, 2025 · 0 comments
Assignees
Labels
enhancement Request for changing or improving existing features
Milestone

Comments

@dalito
Copy link
Member

dalito commented Jan 30, 2025

Currently, when the xlsx template is filled, the styling is not adjusted to the contents at all. So if the template has the first 20 rows styled, everything below the range will be unstyled.

From the usability point this is not optimal. Everyone has to reformat/autoformat again as a first step after download. We should copy the format of the 3rd row (the first data row) to all used rows below (and maybe 100 rows more to prepare for additions).

See openpyxl styles for which styles to copy / assign to the cell. The formatting has to be done cell-by-cell. There is no build in function (I am aware of) for copying all styles from one row to the next.

@dalito dalito added the enhancement Request for changing or improving existing features label Jan 30, 2025
@dalito dalito added this to the 0.9.0 milestone Jan 30, 2025
@dalito dalito self-assigned this Jan 30, 2025
@dalito dalito moved this from New to To Do (<2 weeks) in Voc4Cat cross-repo view Jan 30, 2025
@dalito dalito changed the title Format all rows nicely Format all rows nicely and consistent Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Request for changing or improving existing features
Projects
Status: To Do (<2 weeks)
Development

No branches or pull requests

1 participant