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.
Unfortunately, activation email could not send to your email. Please try again.

GridSummaryColumnDescriptor values ​​are not displayed when exporting - Syncfusion

Thread ID:





115980 Mar 10,2014 08:19 PM Mar 12,2014 05:55 AM ASP.NET Web Forms (Classic) 1
Tags: GridGroupingControl
Jimmy Murillo
Asked On March 10, 2014 08:19 PM


I have a column of type "GridSummaryColumnDescriptor" with "SummaryType" property equal to "Custom". When I export the data, the values ​​in this column are not shown. Also, when you export nor the percentage format is not shown in the excel file. 

Please could help me with this case.

Eswari S [Syncfusion]
Replied On March 12, 2014 05:55 AM

Hi Jimmy,


Thank you for using Syncfusion products.


Your requirement of exporting formatting columns and Custom type summaries can be achieved by using FormatExcelCellHandler event. Please refer to the following code snippets:




GridExcelExport excel = new GridExcelExport(this.GridGroupingControl1, "excel.xls");

        excel.ExportNestedTable = true;

        excel.FormatExcelCellHandler += new ExportExcelCellHandler(excel_FormatExcelCellHandler);





void excel_FormatExcelCellHandler(object sender, ExcelExportEventArgs e)


        if (e.RowElement.IsRecord() && e.ExcelCell.Column == 3)   // check specific column


            e.ExcelCell.Cells[0].NumberFormat = "0.0%";   // set the format accordingly



        if (e.RowElement.Kind == DisplayElementKind.Summary)


           // you can process for custom summaries here




Please find sample from the attachment for your convenience.



Please try this and let us know if you have any other queries.



Eswari S


Attachment: Sample_bd6ca8d2.zip


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.