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

Print kendoGrid

1 Answer 1098 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Shane
Top achievements
Rank 1
Shane asked on 28 Mar 2018, 02:12 PM

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?

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 30 Mar 2018, 06:02 AM
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.
Tags
Grid
Asked by
Shane
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or