Hi,
Please check the attached image file. I have a grid with hierarchical data, with child row headers hidden. In the attached image, you can see that the parent header is shown in the middle of the page.
What I want to do is to have the parent header label on top of every printed pages. This will look something similar to the PageBreak / Flat Data scenario in this link.
http://help.infragistics.com/NetAdvantage/WPF/2011.2/CLR4.0/?page=xamDataPresenter_Repeat_Field_Headers_on_All_Pages.html
Is there anyway to achieve this?
Regards,
Jason
Hello mailtochungg,
In the provided help documentation link describes on setting the RepeatType enumeration to PageBreak of the ReportSettings in the Report object.
Let me know if you have any questions with this matter. Thank you.
Hi Dunae,
The screenshot I had attached is what happen when I am setting RepeatType to PageBreak. My problem is that, I am hiding the header of the 2nd level band, and also I want the header of the 1st level always on top of every printed pages.
I ran a sample for setting the RepeatType to PageBreak and also after printing will print the headers on the 1st level on every page. Feel free to modify the attachment and reattach a sample to the thread for reproducing the behavior described on the headers showing in the middle of the page.
This is just a follow up if you have any questions on NetAdvantage for Reporting product and if you require any further assistance with this thread.
As far as more options on designing reports there is NetAdvantage for Reporting product that you can use.
Hi Duane,
I can't find any solution yet. You said I can display it in a non-hierarchical structure, but I have to display it in a hierarchical structure. The data is in a parent-child relationship. That's not an option for me.
Regards,,
This is just a follow up if you have any further questions on the xamDataPresenter and if you require any further assistance with this thread.
As far as printing the parent field headers on every page, the best option would be to display the records in the control using non-hierarchical data and setting RepeatType to PageBreak.