Export the excel file with Kendo Grid grouping aggregates

1 Answer 439 Views
Grid
Dev
Top achievements
Rank 1
Iron
Iron
Dev asked on 10 Sep 2021, 06:26 PM

Hi, 

I can show the grouping aggregates of kendo grid and I also can add exportExcel into my project.

But I have no idea how can I combine it?

 

I had the problem that my excel file doesn't have the groupfooter "aggregates".

 

Also, the columns misalign, when I add this into the exportExcel methods.

group: this.rentGroup,

 

 

Here is the code:

https://stackblitz.com/edit/wzp8rg?file=src%2Fmain.vue

 

Thank you in advance.

1 Answer, 1 is accepted

Sort by
1
Petar
Telerik team
answered on 15 Sep 2021, 02:03 PM

Hi Dev,

Here is an example of how the grouped with aggregates Native Grid data can be exported to an Excel file. 

Check the linked example and compare the implementation in it to the code in the project you are working on.

I hope the provided sample project will help you implement what you need in your application.

Regards,
Petar
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/.

Dev
Top achievements
Rank 1
Iron
Iron
commented on 16 Sep 2021, 08:59 AM

Hi Petar, 

Thanks a lot !!! It can worked.  : )

Petar
Telerik team
commented on 16 Sep 2021, 09:02 AM

You are welcome! I am happy to hear that the shared solution has helped you implement the desired functionality. 
Tags
Grid
Asked by
Dev
Top achievements
Rank 1
Iron
Iron
Answers by
Petar
Telerik team
Share this question
or