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.
For reproducing the issue described on the screenshot, what's the build number that you're currently running for the control?
Hi Daune,
You can rerpdouce this in any version, both WPF4 and WPF3. You can try expand some rows to make the first row on the 2nd printed page as a child row.
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?
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.
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.