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.

Master-Detail View Printing

Thread ID:

Created:

Updated:

Platform:

Replies:

121178 Nov 17,2015 10:20 AM Nov 19,2015 04:54 AM WPF 3
loading
Tags: SfDataGrid
Diego Fernando Urabayen
Asked On November 17, 2015 10:20 AM

How to print an SfDataGrid Master-Detail View with DataTable binding? 

Sowndaiyan Paulpandi [Syncfusion]
Replied On November 18, 2015 02:02 PM

Hi Diego,


Thank you for contacting Syncfusion Support.


We have analyzed your query and we do not have the direct support to print the SfDataGrid with DetailsViewGrid using SfDataGrid.Print method. But you can achieve this by exporting SfDataGrid into Pdf and then Printing the SfDataGrid from PdfViewerControl. We have prepared a sample for achieve your requirement and you can download the sample from the following location

Sample
http://www.syncfusion.com/downloads/support/forum/121178/ze/DetailsViewDataTableBindingDemo31033652

Please let us know if you require further assistance on this.

Regards,
Sowndaiyan



Diego Fernando Urabayen
Replied On November 18, 2015 04:10 PM

Hi Sowndaiyan,

I executed your solution, but the pdf report generated not contains a dataGrid Detail. I attach a sample.

Diego


Attachment: Captura_de_pantalla_20151118_a_las_6.06.29_p.m._b06b711b.zip

Sowndaiyan Paulpandi [Syncfusion]
Replied On November 19, 2015 04:54 AM

Hi Diego,

Sorry for the inconvenience caused.

We have modified the sample as per your requirement 
and you can download the sample from the following location

Sample: http://www.syncfusion.com/downloads/support/forum/121178/ze/MasterDetailsView-Printing484039966


In this sample we have loaded the our SfDataGrid into the PDFViewer and printed the DataGrid.

Regards,

Sowndaiyan.


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.

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.

;