This is a migrated thread and some comments may be shown as answers.

Hidden column, ClientGroupHeaderTemplate and Export to Excel not working properly

1 Answer 156 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Vivido
Top achievements
Rank 1
Vivido asked on 12 Jan 2015, 01:45 PM
Hi all,
I have a grid with a couple of columns with a ClientGroupHeaderTemplate set.
If the columns are visible, then ExportToExcel command works properly, but when I try to hide these columns ( .Hidden(true) ), exporting resets the header defined by me and shows the default one (Column name: value) in the exported file.
How can I show the ClientGroupHeaderTemplate if I want these columns hidden?

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 14 Jan 2015, 10:00 AM

Hello Riccardo,

 

The grid doesn't export hidden columns and this is why their group header template isn't taken into account. You may consider customizing the generated workbook to achieve any custom look and feel of the Excel file.

 

Regards,
Atanas Korchev
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.

 
Tags
Grid
Asked by
Vivido
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or