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!!!
In case all of the field layouts are correctly defined and the AutoGenerateFields is set to false then in the print preview you should be able to see all of the records in expanded state. Could you post a screenshot so we can see the problem with the layouts in the preview or better attach some sample.
Anybody??? PLEASE!!