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

Write auto column width #695

Merged
merged 3 commits into from
Nov 22, 2024

Conversation

Discolai
Copy link
Contributor

Closes #682

This PR implements writing excel documents with auto column width. The required width is an estimate based on the string length and an average factor based on the Calibri font with size 11pt.

@shps951023 shps951023 merged commit 0b15822 into mini-software:master Nov 22, 2024
3 checks passed
@shps951023
Copy link
Member

❤ Reviewed & Merged, please feel free to feedback

@stian-bay
Copy link

Could this also check the header column width? The header can be longer than the data. Im setting the header name in the data model like this [ExcelColumn(Name = "My longer column header", Index = 0)]

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

Successfully merging this pull request may close these issues.

Auto adjust column width for excel writing
3 participants