How to hide element from pdf export

1 Answer 158 Views
PDF Export
Sergey
Top achievements
Rank 1
Iron
Sergey asked on 12 Aug 2022, 02:18 PM

Say I have a form:

First Name

Last Name

Address

 

I don't wont to export Last Name that is in a middle of export content.

Daniel
Top achievements
Rank 1
commented on 02 May 2023, 03:26 PM

+1

In my case it is a 'Print' button, which i don't want to be visible on exported pdf

1 Answer, 1 is accepted

Sort by
0
Martin Bechev
Telerik team
answered on 05 May 2023, 06:01 AM

Hi Sergey, Daniel,

Please check the following article on how to style different elements in the exported PDF file only:

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

Here is an example of hiding the first paragraph from the PDF document, but still visible on the page:

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

I hope this helps.

Regards,
Martin
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
Sergey
Top achievements
Rank 1
Iron
Answers by
Martin Bechev
Telerik team
Share this question
or