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.
HI Duane,
Thanks for your sample, but I still see the same issue. Please see attached screen shot. If you expand some rows to make the child row display on the first row of the 2nd printed page, you will see this.
Also, I am using WPF3 in my application, not WPF4. But the behavior is the same.
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.
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.