Format PDF export with grouping and horizontal scrolling

3 posts, 0 answers
  1. Bernd
    Bernd avatar
    76 posts
    Member since:
    Feb 2013

    Posted 07 Feb Link to this post

    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. Veselin Tsvetanov
    Admin
    Veselin Tsvetanov avatar
    394 posts

    Posted 09 Feb Link to this post

    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.
  3. Bernd
    Bernd avatar
    76 posts
    Member since:
    Feb 2013

    Posted 09 Feb in reply to Veselin Tsvetanov Link to this post

    Thank you
Back to Top