This is a migrated thread and some comments may be shown as answers.

Pivot Grid PDF export

2 Answers 102 Views
PivotGrid
This is a migrated thread and some comments may be shown as answers.
Software
Top achievements
Rank 1
Software asked on 24 Mar 2015, 07:43 PM
I am displaying data on a pivot grid with horizontal scroll. When i export this to a PDF, its trying to fit everything in a single page, and hence the exported PDF is not readable.

I could reproduce this on the pivot grid demo page http://demos.telerik.com/kendo-ui/pivotgrid/pdf-export
I am attaching the exported PDF.

2 Answers, 1 is accepted

Sort by
0
CS
Top achievements
Rank 2
answered on 25 Mar 2015, 06:48 AM
There is also a paperSize property, maybe try that approach.
PivotGrid -> pdf.paperSize
0
Georgi Krustev
Telerik team
answered on 27 Mar 2015, 08:25 AM
Hello guys,

The best way to avoid the depicted behavior is to remove the scrollbars using CSS. Here is a Dojo demo (http://dojo.telerik.com/@ggkrustev/UgiTE) that demonstrates how to accomplish this task.

We will consider adding these styles in in future to avoid the need of additional styling when widget is exported.

Regards,
Georgi Krustev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
PivotGrid
Asked by
Software
Top achievements
Rank 1
Answers by
CS
Top achievements
Rank 2
Georgi Krustev
Telerik team
Share this question
or