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
Ok thanks for the quick response I have submitted a feature request.
Hi Jasdeep,
Unfortnately it is not possible to accomplish what you want to do. The RepeatType.PageBreak is implemented such that we will show the header for the first record on each page. If this is a child record where you have turned off headers you won't get that header.
I'm not saying that what you want to do is unreasonable, it is just not currently supported.
I would suggest submitting a feature request for this scenario.
.