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

Column disappear when Export to Excel

1 Answer 251 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Dany
Top achievements
Rank 1
Dany asked on 10 Apr 2017, 01:40 PM

I have a grid with 2 columns, first colum is a data column (FirstName) and last column is an column with template (3 buttons for different action). When I click Export to Excel button, column with my 3 buttons disappear. Do you know why ? I don't want to change the layout of my grid when user export data.

 

Thanks

1 Answer, 1 is accepted

Sort by
0
Preslav
Telerik team
answered on 12 Apr 2017, 01:22 PM
Hello Dany,

Generally speaking, the Grid exports only data-bound columns. All columns that do not have their field option set are ignored. Thus, the required functionality is not supported.

A possible workaround might be customizing the export with custom logic in order to achieve this functionality by using the excelExport event. More information is available here:

I hope this information helps.


Regards,
Preslav
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
Dany
Top achievements
Rank 1
Answers by
Preslav
Telerik team
Share this question
or