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

Exception while exporting grouped grid to excel

Hi,

I'm using syncfusion version:6.4.0.15

I'm getting System.NullReferenceException when trying to export grouped grid to excel using:

gcc.GroupingGridToExcel(_grid.TableControl.GroupingControl, worksheet, Syncfusion.GridExcelConverter.ConverterOptions.Default);

the StackTrace shows "at Syncfusion.GroupingGridExcelConverter.GroupingGridExcelConverterControl.ExportColumnHeader(GridColumnHeaderRow headerRow, IWorksheet sheet, Element element, Int32 index, ConverterOptions options, Int32 iGroupLevel, Int32& iSkipCount)...

How can i avoid this exception using this Syncfusion version? 

Thank's for your help, shirit.      


1 Reply

PP Praveena P Syncfusion Team December 11, 2013 06:46 AM UTC

Hi Shirit,

Thanks for using Syncfusion Products.

The issue with Null reference exception occurs while exporting grouping grid to excel is fixed in our later versions. To solve this problem please migrate to our latest version. 

Regards,
Praveena.

Loader.
Live Chat Icon For mobile
Up arrow icon