I am using RadGrid (version 2014.1.403.45) and I need to export a header to PDF, Excel, and CSV. For PDF, this is accomplished easily, by using the "Pdf-PageTitle" property on the <ExportSettings>. Is there something similar for Excel and CSV? If not, is there a workaround?
Thanks,
Steve
1 Answer, 1 is accepted
0
Kostadin
Telerik team
answered on 11 Sep 2014, 12:35 PM
Hello Steve,
Could you please let me know which export format you are using to export the grid to Excel? In order to add a title to csv you could simply hook OnGridExporting event handler and modify the export output. Please check out the following code snippet.
Generally you could use a similar approach if you are using a Html based (default format)on export.
Regards,
Kostadin
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.