Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1024
Printing XamDataGrid with multiple field layouts
posted

Hi I want to print my xamdatagrid that has multuple fieldLayouts.

I took a sample code from ths website,

 

 

 

Infragistics.Windows.Reporting.Report myReport = new Infragistics.Windows.Reporting.Report();

 

 

Infragistics.Windows.Reporting.EmbeddedVisualReportSection myXamDataGridReport = new Infragistics.Windows.Reporting.EmbeddedVisualReportSection(xamDataGridParamsAmdPerms);

 

 

myReport.Sections.Add(myXamDataGridReport);

 

 

xamReportPreview1.GeneratePreview(myReport, false, true);

 

 

myReport.Print();

but it prints me anly the records from the first fieldLayout, and not the rest.

how can I make sure that all my Xamdatagrid will be printed, exactly the same way it appears on screen?

Thank U!!!