How to export a tabStrip with 4 tab in a pdf using kendoUI pdf export in angular?

1 Answer 165 Views
PDF Export
Ajay
Top achievements
Rank 1
Iron
Ajay asked on 18 Aug 2023, 09:47 AM
Hi,

I am currently working with the KendoUI Angular TabStrip and the pdfExport functionality. I have a specific requirement where I need to work with the same functionality. My situation involves a TabStrip that consists of four tabs, and each of these tabs contains a graph from different components. When using the pdfExport feature, I've noticed that only the currently open tab can be exported to PDF. However, my goal is to export all four charts into a single PDF file.

I'd like to inquire whether this feature is supported by KendoUI. If it is supported, could you please guide me on how to achieve this functionality?

1 Answer, 1 is accepted

Sort by
0
Tsvetelina
Telerik team
answered on 21 Aug 2023, 02:10 PM

Hi Ajay,

Indeed, as you have noticed, the PDFExport Component generates a PDF file from what is currently displayed on the page. To generate PDF content that is otherwise not visible, please refer to the following article about Hidden Content:

https://www.telerik.com/kendo-angular-ui/components/pdf-export/hidden-content/

For your convenience, I have created a Stackblitz example where the TabStrip Tabs' contents are placed in an off-screen container which is then exported:

https://stackblitz.com/edit/angular-wpdtwf

This example can be further customized to export charts as per the specific requirements.

I hope this helps.

Regards,
Tsvetelina
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources
Tags
PDF Export
Asked by
Ajay
Top achievements
Rank 1
Iron
Answers by
Tsvetelina
Telerik team
Share this question
or