Keep together certain data

This example code demonstrates how to keep adjacent rows together in one page when exporting to PDF file.