Hey guys!
It seems like I am unable to export an excel file out of the grid after resizing a column.
I see Convert.ToInt32 calls with decimals in line 983 of the GridExcelExport.cs in the ProcessHeaderContent method.
if (((!(!this.IsAutoFit & flag2) ? 0 : (gridColumn.Visible ? 1 : (this.IsHideColumnIncude ? 1 : 0))) & (flag1 ? 1 : 0)) != 0 && gridColumn.Width != null && (gridColumn.Width.ToString().IndexOf("%") == -1 && gridColumn.Type != ColumnType.CheckBox))
this.Sheet.Columns[this.colIndex - 1].Width = string.IsNullOrEmpty(gridColumn.Width) || !(gridColumn.Width != "auto") ? 120 : (gridColumn.Width.IndexOf("px") > 0 ? Convert.ToInt32(gridColumn.Width.Split("px")[0]) : Convert.ToInt32(gridColumn.Width));
the gridColumn.Width is like 216,5. Is this a bug or am i doing something wrong?
Best regards