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

Export to PDF, new page every time a certain field changes

1 Answer 47 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jokull
Top achievements
Rank 1
Jokull asked on 20 Jan 2019, 09:18 PM

     Is it possible to make the PDF work in a way so every time a certain field changes, it starts on new page? For example if the field I want to determine this is "CarMakes" and when its value changes from BMW to Ferrari, Ferrari starts on a new page in the PDF document?

1 Answer, 1 is accepted

Sort by
0
Accepted
Viktor Tachev
Telerik team
answered on 23 Jan 2019, 07:09 AM
Hi Jokull,

The functionality can be achieved by grouping the data in the Grid. Then, set an explicit page break for the grouping row in the Grid widget via the forcePageBreak option.

Check out the how-to article below that describes the approach:




Regards,
Viktor Tachev
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
Jokull
Top achievements
Rank 1
Answers by
Viktor Tachev
Telerik team
Share this question
or