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

Format PDF export with grouping and horizontal scrolling

2 Answers 1048 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Bernd
Top achievements
Rank 2
Bernd asked on 07 Feb 2017, 09:21 AM

Hi.

I manged to enable horizontal scrolling as shown here. But exporting it to PDF shrinks the widths back to standard. Even if I use scaling and A3 landscape as paper size.

This is a sample dojo showing the effect. There is plenty of unsed space on the right side.

How can I create a PDF showing one page per group and use the available page size?

Your example doesn't help me much, because the result is quite ugly (the next day is intended) and it doesn't page per group/day.

Kind regards

Bernd

2 Answers, 1 is accepted

Sort by
0
Veselin Tsvetanov
Telerik team
answered on 09 Feb 2017, 08:25 AM
Hello Bernd,

In order to keep the width of the Scheduler during export to 2000px, the following CSS rule should be introduced:
.k-scheduler-pdf-export.k-scheduler {
  width: 2000px !important;
}

Note, that if you want to export a Scheduler with predefined dimensions, the PDF papersize property should be skipped / set to auto.

Concerning the PDF paging functionality, I am afraid, that because of the HTML structure of the Scheduler, it won't be possible in views different than the Agenda view.

Here you will find a modified version of the sample sent.

I hope, that the above helps you. In case you have any other questions, please do not hesitate to contact us.

Regards,
Veselin Tsvetanov
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Bernd
Top achievements
Rank 2
answered on 09 Feb 2017, 08:33 AM
Thank you
Tags
Scheduler
Asked by
Bernd
Top achievements
Rank 2
Answers by
Veselin Tsvetanov
Telerik team
Bernd
Top achievements
Rank 2
Share this question
or