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.

See Also

In this article
Not finding the help you need? Improve this article