kendo-react
kendo-react copied to clipboard
PDF export - repeatHeaders exports thead element even if no row is rendered on a page
In the following example, the exported PDF file renders a header with no rows on the first page: https://stackblitz.com/edit/react-gyd3fu-v7ajzp?file=app/main.jsx
Expected behavior: Do not render header if no rows are rendered along with the header in the current page
Another scenario that replicates the issue is described in ticket: 1574403 If the content of a cell in the Grid is too long, that pushes the tbody to a separate page in the exported file and leaves the thead as a separate element in the first exported page.
Currently our biggest issue when using Kendo's PDF generator, and severely limiting our ability to dynamically generate content for use, as output requires manual intervention to look right.