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

Export dynamic Kendo Grid to Excel

3 Answers 422 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Arun
Top achievements
Rank 1
Arun asked on 16 Jan 2016, 03:29 PM

I have a grid which has columns created dynamically based on different engagements. now i need to export the grid as-is from an active page to excel. I am new to kendo UI and any help on how to this would be much appreciated.

Thanks.

3 Answers, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 19 Jan 2016, 05:52 PM

Hello Arun,

 

This should be possible out of the box when a excel export button is added to the toolbar. Please refer to the http://dojo.telerik.com/AHiWe/2 example. 

 

Please refer to the toolbar help article and Grid / Export to Excel demo. 

 

Regards,
Boyan Dimitrov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Arun
Top achievements
Rank 1
answered on 20 Jan 2016, 03:50 PM

Thanks for the reply, Boyan.

The hard part is all done. The issue is only with the export. I have added the button and the data bind is all done. But the issue is when i click the button,i get all the column values, but i have a group column which may have # of columns vary based on user input is not getting downloaded properly. i mean the column headers, instead of having the actual values, have the variable name. please refer to attached.

 

0
Boyan Dimitrov
Telerik team
answered on 22 Jan 2016, 10:22 AM

Hello Arun,

 

In order to investigate the issue we would need an isolated runnable example that replicates the issue. If it is possible you can extract the problem in sample dojo example. 

 

Regards,
Boyan Dimitrov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
General Discussions
Asked by
Arun
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Arun
Top achievements
Rank 1
Share this question
or