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.
When running the control I was able to reproduce the same by expanding the records. In the screenshot shown on the thread on the child record displaying "19 model 19" at the top of the second page is expected because for hierarchical data this record would be the first occurrence shown on that page.
Hi Duane,
I understand that this is the expected behavior. What I am asking is, is there any way to achieve what I want to achieve?
In our application, we have child header hidden because the columns in child rows are the same as parent rows.
After exporting in the report the child record is displayed before the parent's header on the second page because the amount of space has exceeded for the first page. Also this record would be the first occurrence. As far as what you are wanting to achieve, where would you want this record to be displayed at?
Hi Daune,
I want this first child record still to be dispalyed as the first row of the page.
If this can't be achieved, making it's parent row as the first row of the page is still fine. Thanks.
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.
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.
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,,