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

Export selected rows of kendo grid to pdf is not working

1 Answer 217 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Arbaz
Top achievements
Rank 1
Arbaz asked on 19 Jun 2020, 06:42 AM

Export selected rows of kendo grid to pdf is not working If there is a way of getting this done any answer would be appreciated,

 

1. I want to export only the selected rows and not the entire data

2. I am attaching a screenshot

thank you

1 Answer, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 22 Jun 2020, 01:02 PM

Hi Arbaz,

Thank you for the provided screenshot.

In order to export only select rows, the developer can create and show an off-screen Grid, which holds the selected Grid rows only by pushing the selected Grid data to a new array during the selectionChange event. For more details I prepared an example demonstrating this approach:

https://stackblitz.com/edit/angular-crv3m1-yidsea?file=app/app.component.ts

I hope this helps. In case of further questions do not hesitate to write back.

Regards,
Martin
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
General Discussions
Asked by
Arbaz
Top achievements
Rank 1
Answers by
Martin
Telerik team
Share this question
or