Unplanned
Last Updated: 26 Nov 2026 09:59 by Manoj
Manoj
Created on: 26 Nov 2026 09:59
Category: Grid
Type: Bug Report
0
Improve PDF export performance for Grids with CSS-scaled content

Component: Kendo Drawing — drawDOM / PDF Export

Description

PDF export is slow when a large Grid contains many badges styled with transform: scale(). drawDOM temporarily disables the transform on each badge to measure it. These inline style writes are interleaved with geometry reads, triggering repeated style and layout recalculations. The slowdown occurs even with the Canvas color fix applied.

Steps to reproduce

  1. Render a Kendo UI Grid with 200 or more rows and a text badge in each row.
  2. Add an .expanded-view element to the page and apply:
    body:has(.expanded-view) .k-grid .k-badge {
      transform: scale(1.05);
    }
  3. Export the Grid to PDF in Chrome without the {{.k-pdf-export .k-badge { transform: none !important; }

    }} workaround.

  4. Repeat with scaling disabled. Compare drawDOM time separately from PDF encoding time.

Reproduction example: https://dojo.telerik.com/zLaTfCXJ/3

0 comments