We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bef60be commit c657dc2Copy full SHA for c657dc2
1 file changed
dotnet/src/dotnetframework/GxExcel/GxExcelEPPlus.cs
@@ -627,9 +627,14 @@ public string Value
627
628
private void fitColumnWidth()
629
{
630
- if (_fitColumnWith)
631
- pCellsRange.AutoFitColumns();
632
- }
+ if (_fitColumnWith)
+ {
+ for (int columnIndex = pCellsRange.Start.Column; columnIndex <= pCellsRange.End.Column; columnIndex++)
633
634
+ pSelectedSheet.Column(columnIndex).AutoFit();
635
+ }
636
637
638
639
public string Type
640
0 commit comments