Better (configurable) PDF output on the Scheduler

Tiho

Would it be possible to configure how the exported PDF on the Scheduler same as on Grid?

Example: http://dojo.telerik.com/ufOpa -> click on "Export to PDF".

The PDF is configure as:

toolbar: ["pdf"],

pdf: {

allPages: true,

avoidLinks: true,

paperSize: "Letter",

margin: { top: "2cm", left: "1cm", right: "1cm", bottom: "1cm"},

landscape: false,

repeatHeaders: true,

template: $("#page-template").html(),

scale: 0.8

},

...which is amazing! That PDFis everything one could wish for.

Now, on the Scheduler, if we were to try and "Export to PDF" the data here: http://dojo.telerik.com/IWeCe

...the result would not be a multi-paged, letter-sized PDF, but a single-page PDF containing a cropped section of the Scheduler.

I put together a quick POC using the kendo.drawing.drawDOM method, which yielded some results (letter-format, multi page PDF), but it's far from usable.
http://dojo.telerik.com/IWeCe/2 -> Click "PDF me!" on the top of the screen.

My question is, can we expect - and if yes, in what timeline - to be able to configure the PDF output on the Scheduler the way we can do it on the Grid?

Thank you in advance!

Vladimir Iliev

Please note that the only option from the PDF configuration that might not work as you expect is the paper size. The reason behind this is that the Scheduler content cannot be easily split as it's inside scrollable container with several tables. Splitting tables inside scrollable containers will not be supported out of the box by the Kendo UI PDF export soon - that why the only possible approach would be using custom solution.

Possible approach is to directly use the KendoUI PdfExport feature and follow the help topic below about how to split the content on multiple pages:

Tiho

Just to clarify, you said "Splitting [several] tables inside scrollable containers" - what if it's a single table inside a non-scrollable container? Like .k-scheduler-layout.k-scheduler-monthview, a simple month view.

Vladimir Iliev

Basically it's possible to make the month view split on different pages, however this feature currently is not supported as it's never requested. You can share your idea at Kendo UI UserVoice to allow other users vote for it. Most voted ideas are included in next Kendo UI releases.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks or appropriate markings.