Hi,
I want to display a cross table using cross data Bands. The columns (cross Data Bands) won't fit on one page, so I set the unlimited width property to true(in page properties). I also want to display the cross header on every following page that is created because of the unlimited height property. It didn't work, even though I set the "Print On" Property to All Pages. What can I do to have the cross header sidplayed on every single page?
It would also be ok, if the unlimited width property was set to false and the additional pages would be displayed vertically. But if I set the unlimited width property to true, the columns that don't fit on the first page are not displayed anymore. Is there any way to have them displayed?
Thanks in advance
Alex
Problem using Cross Headers on Pages with unlimited Width
Problem using Cross Headers on Pages with unlimited Width
Please open the attached report in the Demo.exe sample application from the standard delivery.
The following parameters must be set too:
report.NumberOfPass = Double Pass
Report.EndRenderEvent:
Variable1 - it is an int type variable from the report Dictionary.
Because the report is set to Double Pass, then during the first pass in the EndRenderEvent we can find out the SegmentPerWidth property and set CountData of the CrossDataBand. This DataBand is placed on the PageHeader.
Thank you.
The following parameters must be set too:
report.NumberOfPass = Double Pass
Report.EndRenderEvent:
Code: Select all
{
Variable1 = this.RenderedPages["Page1"].SegmentPerWidth;
Cross_Data2.CountData = Variable1;
}
Because the report is set to Double Pass, then during the first pass in the EndRenderEvent we can find out the SegmentPerWidth property and set CountData of the CrossDataBand. This DataBand is placed on the PageHeader.
Thank you.
- Attachments
-
- 39.PageHeader_For_SegmentsPerWidth.mrt
- (17.54 KiB) Downloaded 286 times
Problem using Cross Headers on Pages with unlimited Width
Thanks for the quick response. Unfortunately, I think there was a slight misunderstanding.
I didn't want know how to display Page Header Information, I wanted to know how to have the Cross Header Information on each page. As you know, you can put a Cross Data Band and a Cross Header into a Data Band. The Cross Data Band Information is displayed correctly, but I can't get the Cross Header to be displayed on every page. (first image shows you what it should look like)

And there is a second Problem: When setting the unlimited width property of the page to false, the CrossDataBand content that cannot be displayed on the first page (and that would be displayed on the following pages if the unlimited width property was set to true), won't be displayed at all. Is there a way to make it look like in the second image?

I didn't want know how to display Page Header Information, I wanted to know how to have the Cross Header Information on each page. As you know, you can put a Cross Data Band and a Cross Header into a Data Band. The Cross Data Band Information is displayed correctly, but I can't get the Cross Header to be displayed on every page. (first image shows you what it should look like)

And there is a second Problem: When setting the unlimited width property of the page to false, the CrossDataBand content that cannot be displayed on the first page (and that would be displayed on the following pages if the unlimited width property was set to true), won't be displayed at all. Is there a way to make it look like in the second image?

Problem using Cross Headers on Pages with unlimited Width
Unfortunately it is impossible in the current version of the Stimulsoft Reports.Net.alex2u wrote:how to have the Cross Header Information on each page. As you know, you can put a Cross Data Band and a Cross Header into a Data Band. The Cross Data Band Information is displayed correctly, but I can't get the Cross Header to be displayed on every page. (first image shows you what it should look like)
No, this result couldn't be achieved with using of the Cross Bands, because they could grow only to the new Segment of the page, not into the new page.alex2u wrote:And there is a second Problem: When setting the unlimited width property of the page to false, the CrossDataBand content that cannot be displayed on the first page (and that would be displayed on the following pages if the unlimited width property was set to true), won't be displayed at all. Is there a way to make it look like in the second image?
Thank you.