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
785
Honoring FixedToNearEdge Columns When Printing
posted

Hello All,

I am printing my XamDataGrid as follows:
   Report report = new Report();
   EmbeddedVisualReportSection section = new EmbeddedVisualReportSection(m_dataGrid);
   report.Sections.Add(section);
   report.Print();

I have set the following on the two left-most columns of my XamDataGrid:
   newField.FixedLocation = FixedFieldLocation.FixedToNearEdge;

My XamDataGrid is wide (i.e. has many columns) and thus spans several sheets of paper when I print it. I would like to have the two fixed columns mentioned above be the first (i.e. leftmost) columns that print on *each* sheet of paper. Is this possible? If so, how may I do it?

Thanks,
Dave