Timeline for Simulate autofit column in xslxwriter
Current License: CC BY-SA 4.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 3, 2023 at 22:57 | comment | added | Enissay | Additionally to autofit, How can we set a max width so that if a column is too large, it would not exceed that fixed max width value ? | |
May 10, 2023 at 7:57 | comment | added | jmcnamara |
@JohnDoe There are limitations to autofit() since it is a simulated fitting (see the docs). However URLs should work as shown in this example from the docs: xlsxwriter.readthedocs.io/example_autofit.html Maybe open another question or a bug report.
|
|
May 10, 2023 at 7:46 | comment | added | John Doe | It seems that the autofit is not working properly for a column of URLs. The column width is then set to the header and to the length of the URLs. | |
Feb 3, 2023 at 16:52 | comment | added | jmcnamara | @Nelson As soon as I saw your bug report. :-) | |
Feb 3, 2023 at 16:24 | comment | added | Nelson | Released 6 hours ago :D | |
Feb 3, 2023 at 9:49 | comment | added | jmcnamara | @Nelson that issue is fixed in version 3.0.8 of XlsxWriter. | |
Feb 3, 2023 at 2:40 | comment | added | Nelson |
Caveat with autofit() . If you use another function where you supplied None as the width, this function crashes. (As of Feb 2023)
|
|
Jan 14, 2023 at 20:00 | history | edited | jmcnamara | CC BY-SA 4.0 |
added 1 character in body
|
Jan 14, 2023 at 19:54 | history | answered | jmcnamara | CC BY-SA 4.0 |