Edit this page

Add Page Breaks by Group When Exporting the Grid to PDF


Product Progress Kendo UI Grid


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? 


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