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

Grid Excel Export > sheet name

1 Answer 770 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Bob
Top achievements
Rank 1
Bob asked on 15 Jun 2015, 02:45 PM
Hi, is it possible to name the worksheet when exporting a grid to Excel?  Please provided details if so (preferably with server widget syntax).

1 Answer, 1 is accepted

Sort by
0
Plamen Lazarov
Telerik team
answered on 16 Jun 2015, 09:04 AM

Hello Bob,

In order to name a worksheet you could use the Grid's excelExport event to set a title of the worksheet.

excelExport: function(e){
  e.workbook.sheets[0].title = "my workbook"
}

 

The link below illustrates this approach.
http://dojo.telerik.com/@c0re/uDOFe/2


Regards,
Plamen Lazarov
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
Tags
Grid
Asked by
Bob
Top achievements
Rank 1
Answers by
Plamen Lazarov
Telerik team
Share this question
or