We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Repeat the header on all pages when printing

Thread ID:

Created:

Updated:

Platform:

Replies:

129688 Mar 28,2017 08:32 PM UTC Mar 29,2017 05:54 PM UTC WPF 1
loading
Tags: GridDataControl
mlehya
Asked On March 28, 2017 08:32 PM UTC

I'm tired, please help me how to repeat the header on all pages when printing GridDataControl

Balamurugan Rajaraman [Syncfusion]
Replied On March 29, 2017 05:54 PM UTC

 
Hi Mlehya 
 
Thank you for contact Syncfusion support. 
 
We have analyzed your query “Repeat the header on all pages when printing”. We regret to inform that you are not able to customize the record collection for the printing in GridDataControl. You can able to achieve your requirement in SfDataGrid by the property AllowRepeatHeader as True as like provide code sample. 
 
this.dataGrid.PrintSettings.AllowRepeatHeaders = true; 
            this.dataGrid.ShowPrintPreview(); 
 
We suggest to use SfDataGrid instead of GridDataControl. SfDataGrid is designed based on the WPF template-based architecture that provides support to customize the Grid easily and fully supports binding. Also the performance will be better when compare to GridDataControl. 
 
Please refer the below link for getting more information about the SfDataGrid 
 
UG Link: 
 
we have created the sample in the SfDataGrid to achieve your requirement and attached the sample for your reference you can download it from the below location. 
 
 
 
Regards, 
Balamurugan R 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;