Print kendoGrid

2 posts, 0 answers
  1. Shane
    Shane avatar
    9 posts
    Member since:
    Nov 2015

    Posted 28 Mar Link to this post

    I have a grid that contains footers with totals, sums, etc.  I've implemented the printing feature as shown in this example here: https://docs.telerik.com/kendo-ui/controls/data-management/grid/print-export

    However, there isn't listed a way to include the print-friendly footers of the grid in the example shown in the link above.  I've attached two images of what my grid looks like with footers and how the javascript shows the footers from the print example.

    Is there a way to format the k-grid-footer so that it shows only 3 columns like in the grid and spaced correctly?

  2. Stefan
    Admin
    Stefan avatar
    1661 posts

    Posted 30 Mar Link to this post

    Hello, Shane,

    Thank you for the details.

    When the Grid will be printed we suggest using non-scrollable Grid as this can cause the mentioned misaligned:

    "If the Grid is scrollable, some rows or columns may not be visible on the printed paper. So, the Grid height and scrollability are disabled on the print-friendly page."

    I made a non-scrollable Grid with footer template which is made for printing as expected:

    https://dojo.telerik.com/IwoSuYEq

    Also, as printing it is just an example and it has its limitation, we can suggest the built-in PDF export and then the exported PDF can be printed:

    https://docs.telerik.com/kendo-ui/controls/data-management/grid/pdf-export

    Let me know if you need additional assistance on this matter.

    Regards,
    Stefan
    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top