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

Master-Detail View Printing

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

3 Replies

SP Sowndaiyan Paulpandi Syncfusion Team November 18, 2015 07:02 PM UTC

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


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


DF Diego Fernando Urabayen November 18, 2015 09:10 PM UTC

Hi Sowndaiyan,

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


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

SP Sowndaiyan Paulpandi Syncfusion Team November 19, 2015 09:54 AM UTC

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.



Live Chat Icon For mobile
Up arrow icon