In order to keep the columns width in the exported file, you can set the GridViewSpreadExport.ExportVisualSettings
property to true
.radGridView1.Columns.Width = 200;
fileName = @
GridViewSpreadExport spreadExporter =
SpreadExportRenderer exportRenderer =
Alternatively, you can handle the WorkbookCreated
event which allows to introduce final customizations to the exported file considering the RadSpreadProcessing
API that is introduced. Additional information is available in the following help article: https://docs.telerik.com/devtools/winforms/gridview/exporting-data/spread-export
I hope this information helps. If you need any further assistance please don't hesitate to contact me.
Dess | Tech Support Engineer, Sr.
Get quickly onboarded and successful
with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.