Simplexcel icon indicating copy to clipboard operation
Simplexcel copied to clipboard

Support Auto-Width columns

Open mstum opened this issue 11 years ago • 4 comments

There is an attribute that allows to have Excel automatically size columns.

mstum avatar Jan 10 '13 10:01 mstum

Instead of Sheet.ColumnWidths, I should have Sheet.Columns which has a lot more properties per column. This would be a breaking change though.

mstum avatar Jun 07 '14 07:06 mstum

Maybe doing this in 3.0, where I might break a few things for a better API.

mstum avatar Sep 18 '17 00:09 mstum

+1

tipa avatar May 25 '19 09:05 tipa

I have written some kind of prototype using SixLabors.Fonts to automatically adjust the columns width here: https://github.com/0xced/Simplexcel/blob/AdjustWidthToContents/src/Simplexcel.TestApp/WorksheetExtensions.cs

0xced avatar Apr 30 '22 12:04 0xced