Datagrid printing with multiple page UWP

1 Answer 25 Views
DataGrid
Tamil
Top achievements
Rank 1
Tamil asked on 06 Aug 2021, 01:02 AM

I want to print my datagrid with multiple page.

 

It's printing only a single page, and also I can't able to print header and footer for printing page. How to print a datagrid with multiple page & header and footer!!?????

Tamil
Top achievements
Rank 1
commented on 09 Aug 2021, 05:40 AM

Dear ADMIN!??????? 
Lance | Manager Technical Support
Telerik team
commented on 09 Aug 2021, 01:56 PM

Hi Tamil, this site is for the commercial Telerik UI for UWP components. It appears you're using the open sourced version. For assistance with that suite, we recommend posting on StackOverflow for better/faster assistance. That being said, I'll post an answer for you.

1 Answer, 1 is accepted

Sort by
0
Lance | Manager Technical Support
Telerik team
answered on 09 Aug 2021, 02:05 PM

Hi Tamil,

Printing is something you need to do with the UWP framework itself. UI controls have no insight/responsibility of the printing APIs themselves. In regards to handling multiple pages or headers, this is also something you will need to manually deconstruct the data and generate your own headers and footers.

Please visit the following forum post for an initial answer and a starter demo project https://www.telerik.com/forums/customize-radpagginationcontrol#4363384.

Further Assistance

If that is not sufficient for you, then my best advice here would be to print the data itself instead of trying to print the DataGrid. You can reference the DataGrid.ItemsSource if you want all the items or the DataGrid's DataView if you want a viewed subset (the DataView can get you things like groups and aggregates).

For more information about printing in UWP, please visit Print from your app - UWP applications | Microsoft Docs.

Regards,
Lance | Manager Technical Support
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
DataGrid
Asked by
Tamil
Top achievements
Rank 1
Answers by
Lance | Manager Technical Support
Telerik team
Share this question
or