Hello,
I have a Winform RadGridView binded to a datatable. When I want to export it to excel I have an "index out of range" exception.
Some of columns are hidden, some of columns are in the columnChooser.
Dim exporter As New ExportToExcelML(documentTop.DataGrid) |
exporter.SheetMaxRows = ExcelMaxRows._65536 |
exporter.ExportVisualSettings = True |
Dim fileName As String = "c:\ExportedData.xls" |
exporter.RunExport(fileName) |
I'am using the code sample found in the documentation but it crashes on RunExport method.