Regarding Kendo React pdf

1 Answer 71 Views
Drawing
Cory
Top achievements
Rank 1
Cory asked on 27 Jul 2021, 11:09 AM
I am exporting the pdf using the drawDOM method and passing the template parameter with header and footer. But my header and footer are not showing at the same time.

1 Answer, 1 is accepted

Sort by
0
Kiril
Telerik team
answered on 28 Jul 2021, 09:02 AM

Hello Cory,

We do not have a separate templates for `header` and `footer`, but instead provide a single `template` function which can be used to add both `Header` and `Footer` simultaneously. 

I've prepared the following stackblitz example which demonstrates how to add both Header and Footer with a single template:
https://stackblitz.com/edit/react-qtvqwe?file=app/main.jsx

Please let me know if the provided example helps you solve the problem.

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

Tags
Drawing
Asked by
Cory
Top achievements
Rank 1
Answers by
Kiril
Telerik team
Share this question
or