Skip to content

Unexpected overlay with exporting indicator in Grid PDF exported file #7829

@Dimitar-Goshev

Description

@Dimitar-Goshev

Bug report

Unexpected overlay with exporting indicator in Grid PDF exported file

Workaround

Handle the pdfExport event to add class k-clone to Grid's wrapperClone element:

pdfExport: function(e) {
    e.sender.wrapperClone.addClass('k-clone');
}

Add the following CSS to the page to hide the wrapperClone and the loader container element in the exported PDF:

.k-pdf-export .k-clone,
.k-pdf-export .k-loader-container {
    display: none;
}

Reproduction of the problem

  1. Run the following Overview demo Dojo snippet and click on Export to PDF Button
  2. Run the following PDF Export demo Dojo snippet and click on Export to PDF Button

Current behavior

  • The exported PDF from the Overview demo has overlay
  • The exported PDF from the PDF Export demo has overlay on its last page
    image

Expected/desired behavior

No overlay in the exported PDF files

Environment

  • Kendo UI version: 2024.2.514
  • Browser: all

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions