Skip to content

Table headers are duplicated, some lines are cut off in exported PDF #8508

Description

@asztrikx

Bug report

Reproduction of the problem

Behavior A is reproducible in this DOJO

Behavior B is reproducible in this DOJO. This is the same as A, but some rows are removed from the first table

Behavior A-2 is reproducible in this DOJO. This is the same as A, but with 1 large row instead of many rows.

Behavior B-2 is reproducible in this DOJO. This is the same as A-2, but rows from letter 'h' are removed from the first table

  1. Load the page, pdf file should download when loaded

Current behavior

  1. A: The second table header is duplicated without any actual table rows.
  2. A: The first table's last rows got slightly cut off from the first page.
  3. B: The second header is duplicated, but on the first page, without any actual data rows.
  4. A-2: The first table header is duplicated.
  5. B-2: The second header is duplicated, but on the first page, probably without any actual data rows. Note that the header is not inspectable as a textLayer node in Firefox's built-in pdf viewer
  6. B-2: The first table's header is now not duplicated. (The first page of B1's pdf is not present anymore)

Expected/desired behavior

  1. No table header should be present without actual table rows.
  2. The first table's last row should appear on the second page as it doesn't fit on the first page.
  3. The table header should only be rendered at the end of a page if it fits with at least one actual table row.
  4. No table header should be present without actual table rows.
  5. The table header should only be rendered at the end of a page if it fits with at least one actual table row.

Environment

  • Kendo UI version: 2026.2.520

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions