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

Title page for grid export to pdf

1 Answer 88 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Lee
Top achievements
Rank 1
Iron
Iron
Iron
Lee asked on 03 Dec 2019, 07:41 PM
I would like to add a title page or a styled title that appears on the first page only to the grid's pdf export. Is there a way to do this?

1 Answer, 1 is accepted

Sort by
0
Accepted
Ivan Danchev
Telerik team
answered on 05 Dec 2019, 12:26 PM

Hello Lee,

Consider using a template in the Grid's pdf configuration. In the template you can conditionally show a title  only for the first page:

# if ( pageNum == 1) { #
 Kendo UI Grid Export
# } #

Here's a dojo example: https://dojo.telerik.com/EJUdOZUd

 

Regards,
Ivan Danchev
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
Lee
Top achievements
Rank 1
Iron
Iron
Iron
Answers by
Ivan Danchev
Telerik team
Share this question
or