PDF Export overlapping pages

5 posts, 0 answers
  1. carlos
    carlos avatar
    3 posts
    Member since:
    Jun 2016

    Posted 10 Jun 2016 Link to this post

    Hi,

    I'm trying to export a Grid to PDF as shown in this example:

    http://demos.telerik.com/kendo-ui/grid/pdf-export

     

    The problem is that I need to use a bigger pageSize and I just want to export the current page.

    If I just modify those options on the given example (setting allPages: false and pageSize:50 ) the resulting PDF splits the current page on 6 chunks, but prints all six of them on the same page, overlapping the output as can be seen on the attached file.

    Am I doing something wrong?

    Is there any way of achieving the desired behavior?

     

    Thanks,

    Carlos

  2. Alexander Popov
    Admin
    Alexander Popov avatar
    1444 posts

    Posted 14 Jun 2016 Link to this post

    Hi Carlos,

    I would recommend setting the paperSize to auto and using portrait orientation, as shown here.

    Regards,
    Alexander Popov
    Telerik
     
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
     
  3. carlos
    carlos avatar
    3 posts
    Member since:
    Jun 2016

    Posted 14 Jun 2016 Link to this post

    Hi Alexander,

     

    Thank you for your answer, but the proposed solution will create a single page PDF file with huge dimensions, that is not easily printable.

    Is there a way of creating an "A4" PDF from one single Grid page, that outputs as many A4 pages as needed to fit the content?

    Thanks again,

     

    Carlos

  4. Alexander Popov
    Admin
    Alexander Popov avatar
    1444 posts

    Posted 16 Jun 2016 Link to this post

    Hello Carlos,

    I apologize for the misunderstanding. The behavior you are after is supported, however there seems to be a regression in recent versions, hence the unexpected results. I have logged this issue in our public GitHub repository, where its status can be tracked. 

    As a small sign of our appreciation for bringing this to our attention I have updated your Telerik points.

    Regards,
    Alexander Popov
    Telerik
     
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
     
  5. carlos
    carlos avatar
    3 posts
    Member since:
    Jun 2016

    Posted 16 Jun 2016 Link to this post

    Hi Alexander,

    Thanks for your support, and raising the issue. I hope it gets fixed soon!

     

    Regards,

    Carlos

     

Back to Top