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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GridSummaryColumnDescriptor values ​​are not displayed when exporting - Syncfusion

Thread ID:





115980 Mar 11,2014 12:19 AM UTC Mar 12,2014 09:55 AM UTC ASP.NET Web Forms (Classic) 1
Tags: GridGroupingControl
Jimmy Murillo
Asked On March 11, 2014 12:19 AM UTC


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 09:55 AM UTC

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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon