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

Export to Excel Programmatically

3 Answers 1746 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Justin
Top achievements
Rank 1
Justin asked on 08 Oct 2020, 02:26 PM
How can I programmatically export the grid to excel?  I have a right click context menu that has an option for "export".  When I click this item I need to perform the export.

3 Answers, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 08 Oct 2020, 03:36 PM

Hello Justin,

You can Follow that feature here: https://feedback.telerik.com/blazor/1470774-trigger-grid-excel-export-from-code. I've added your Vote for it, and the page also offers a workaround you can consider.

Another approach you can consider is building the file yourself, an example of that is available here: https://feedback.telerik.com/blazor/1485764-customize-the-excel-file-before-it-gets-to-the-client

 

Regards,
Marin Bratanov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

0
Justin
Top achievements
Rank 1
answered on 08 Oct 2020, 06:02 PM
Ok, thanks.  I figured there would be a method on the grid reference itself.  I guess I'll have to table it for now since I'm not quite satisfied with the two workarounds.
0
Marin Bratanov
Telerik team
answered on 09 Oct 2020, 10:25 AM

Hello Justin,

The feature request is to provide such a method. Since it is not available yet, there are two possible workarounds. The best way to know when  it gets implemented is to click the Follow button on the feedback portal page with the request.

 

Regards,
Marin Bratanov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Grid
Asked by
Justin
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Justin
Top achievements
Rank 1
Share this question
or