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
100
Printing XamDataGrid Repeat Label On Each Page
posted

Hi,

I want to be able to print the label of my XamDataGrid at the top of each page. I realise I can use this property for non hierarchical grids:

Report.ReportSettings.RepeatType = RepeatType.PageBreak;

When I have a non hierarchcial grid (i.e. only one field layout). However I have a hierarchical grid with many levels and only show the labels at the top level (i.e. fieldlayout[0]). If I use the above property on hierarchical grids then on printing it shows the label above the next row in fieldlayout[0] after the page is broken. This can sometimes mean that the label is shown halfway down the page. My top level fieldlayout only has 3 or 4 rows whereas all the other levels may contain 20 - 30 rows.

Please can someone respond and let me know what would be the best way of showing the top fieldlayouts labels at the top of each page?

Thanks in advance,

Jasdeep