Skip to content

Commit bfeccc1

Browse files
committed
GriddlyExcelResult AutoFit has min/max widths
1 parent 9923c82 commit bfeccc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Griddly.Mvc/GriddlyExcelResult.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public override void ExecuteResult(ControllerContext context)
9090
if (col.ExportWidth != null)
9191
ws.Column(i + 1).Width = col.ExportWidth.Value;
9292
else
93-
ws.Column(i + 1).AutoFit();
93+
ws.Column(i + 1).AutoFit(8, 80);
9494
}
9595

9696
if (EnableAutoFilter)

0 commit comments

Comments
 (0)