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.
Unfortunately, activation email could not send to your email. Please try again.

How to print multiple SfDataGrids in a single document?

In SfDataGrid, there is no direct support to print multiple SfDataGrid in single document. But you can achieve this by using Syncfuion ReportViewer control which will print multiple SfDataGrid in a single document. You have to create a RDLC file with DataSet and also you need to set DataSources for ReportViewer from SfDataGrid.ItemsSource property like below code example.

For more details about creating RDLC file, please click here.

XAML

 

C#

 

In UWP, you have to use ReportViewer in a separate page and you have to navigate to the corresponding page through button click. Please refer the below code example to create the separate page with ReportViewer.

XAML

 

C#

 

Sample link

WPF

UWP

Screenshot

C:\Users\gnanasownthari.thiru\Desktop\Capture.PNG

 

 

 

 

 

 

Article ID: Published Date: Last Revised Date: Platform: Control:
6789 05/04/2016 05/30/2016 WPF SfDataGrid
Tags:
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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.