Edit this page

Add Page Breaks by Group When Exporting the Grid to PDF

Environment

Product Grid for Progress Kendo UI

Description

I am exporting a Kendo UI Grid to PDF. How can I add a page break by group, which will change depending on what the user selects? 

Solution

To get the Kendo UI PDF Export to break at each group, use the forcePageBreak selector in the PDF options of the Grid:

pdf: { 
  forcePageBreak: ".k-grouping-row:not(:first-child)"
}

For the complete implementation of this approach, refer to this runnable example.

Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy