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

Export to Excel

The sample code works fine. Only why does it not take the displayed header text instead of displaying the actual field names. Say I have
Columns header text
Security_ID Security ID
Security_Name Name
Security_Description Description

I would like excel to display header text using the export...


2 Replies

GK Geetha Krishnamurthy February 15, 2007 06:20 PM UTC

For that matter, even if i have combo boxes in my grid i would like excel to port the displaymember of the combo box instead of the value


AD Administrator Syncfusion Team February 15, 2007 10:47 PM UTC

Hi Gkrish,

You would have to derive the GridExcelConverterBase class and export the elements using the ExportXXXX method. Please try the attached sample and let me know if you are looking something different.

sample : GGCExcelExportHeaderText.zip

Best regards,
Haneef

Loader.
Live Chat Icon For mobile
Up arrow icon