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. Image for the cookie policy date
close icon

Repeat the header on all pages when printing

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

1 Reply

BR Balamurugan Rajaraman Syncfusion Team 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 


Loader.
Live Chat Icon For mobile
Up arrow icon