We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

GroupingGridExcelConverterControl munges all column headers into a single column in excel

Instead of setting each column header to a single column in excel, an entry is made: GridColumnHeaderRow(GridColumnHeaderSection): <> It would be more helpful for me to have either the column headers in individual columns, or to exclude them all together Any ideas?

2 Replies

JM Jay Mooney December 15, 2005 03:23 PM UTC

Here''s my code if that helps: // Create Excel automation objects IWorkbook myWorkBook = ExcelUtils.CreateWorkbook(1); IWorksheet sheet = myWorkBook.Worksheets[0]; Syncfusion.GroupingGridExcelConverter.GroupingGridExcelConverterControl ggecc = new GroupingGridExcelConverterControl(); ggecc.GroupingGridToExcel(this, sheet, Syncfusion.GridExcelConverter.ConverterOptions.ConvertVisible); // Save the workbook to disk so we can launch it via the file system myWorkBook.SaveAs(path); myWorkBook.Close(); ExcelUtils.ThrowNotSavedOnDestroy = false; if (openFile) { // Launch the saved workbook Process proc = new Process(); proc.StartInfo.FileName = path; proc.Start(); } >Instead of setting each column header to a single column in excel, an entry is made: >GridColumnHeaderRow(GridColumnHeaderSection): <> > >It would be more helpful for me to have either the column headers in individual columns, or to exclude them all together > >Any ideas?


ST stanleyj Syncfusion Team December 16, 2005 06:10 AM UTC

Hi Jay, A defect has been logged. Here is the link to the open issues.http://www.syncfusion.com/support/issues/xlsio/Default.aspx?ToDo=view&questId=1245 Regards, Stanley

Loader.
Live Chat Icon For mobile
Up arrow icon