Write auto column width#695
Merged
shps951023 merged 3 commits intomini-software:masterfrom Nov 22, 2024
Merged
Conversation
shps951023
approved these changes
Nov 22, 2024
Member
|
❤ Reviewed & Merged, please feel free to feedback |
|
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 |
|
@stian-bay try this |
Ah cool, I will try this. Thanks |
|
Got it working in my dynamic method like this. Maybe a little more complex, but this seems to be working great 🎉 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #682
Closes #379
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.