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

Kendo grid: exporting only grouped items

1 Answer 154 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Antonio
Top achievements
Rank 1
Antonio asked on 25 Sep 2018, 12:47 PM

Hi,

I have kendo grid grouped on a property and aggregate functions for sum and count. I need export it to excel in a way when all parent are collapsed then it should only export parent rows (excluding details) As shown in picture.

Anyone has an idea how to achieve this? Any help would be appreciated!

 

Thank you :)

 

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 27 Sep 2018, 08:14 AM
Hello Antonio,

You can handle the "export" event of the Grid and manipulate the rows collection of the Sheet, by removing the "data" type rows. For your convenience, following is a simple example with such implementation:
Hope this helps.


Regards,
Konstantin Dikov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Grid
Asked by
Antonio
Top achievements
Rank 1
Answers by
Konstantin Dikov
Telerik team
Share this question
or