kendo-react icon indicating copy to clipboard operation
kendo-react copied to clipboard

PDF export - repeatHeaders exports thead element even if no row is rendered on a page

Open kdikov82 opened this issue 2 years ago • 1 comments

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

kdikov82 avatar Mar 21 '22 19:03 kdikov82

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.

kdikov82 avatar Jul 30 '22 10:07 kdikov82

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.

tomking2 avatar Feb 20 '23 16:02 tomking2