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

Add Sheet to Excel Export

2 Answers 271 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Matthew
Top achievements
Rank 1
Matthew asked on 25 Apr 2016, 06:59 PM

Is there a way to add a new sheet to the e.workbook.sheets[] array in my ExcelExport() grid event function?  I'm trying to create an Excel export that has two sheets.  One sheet will be formatted just as the grid displays.  The other sheet will require some custom code to format the sheet as desired.

 

Thanks!

2 Answers, 1 is accepted

Sort by
0
Accepted
Dimiter Madjarov
Telerik team
answered on 26 Apr 2016, 11:50 AM

Hello Matthew,

Yes, the sheets are represented by an array, in which you could add new ones. Here is a small example of this.

Regards,
Dimiter Madjarov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Matthew
Top achievements
Rank 1
answered on 26 Apr 2016, 03:18 PM
Thanks for the info!
Tags
Grid
Asked by
Matthew
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
Matthew
Top achievements
Rank 1
Share this question
or