Home » Archived » BIRT » Table inside a Grid (pagination problem)
Table inside a Grid (pagination problem) [message #840510] |
Tue, 10 April 2012 07:10  |
Chris K Messages: 18 Registered: February 2012 |
Junior Member |
|
|
Hi all,
I've built a Grid with for example 20 x 15 cells, which exactly fits into a single page. Now I put a Table (or another Grid, doesn't matter) inside one Cell, which contains a lot of data.
When I run and render this design via API, I get the following result (see attachment), which is obviously wrong, because every two pages there is just a tiny piece of the Cell (therefore I painted it green, to show it's still the same Cell).
When I render the design via the BIRT Eclise Plugin instead, it shows the right solution in the "Preview"-Window and even when exporting it there to PDF.
Any suggestions? Am I missing some "CSS"-like Statements? I really don't know where the difference is.
Thanks for your help!
- Chris
Attachment: report.pdf
(Size: 6.29KB, Downloaded 293 times)
|
|
|
Re: Table inside a Grid (pagination problem) [message #840869 is a reply to message #840510] |
Tue, 10 April 2012 15:48   |
|
Chris
Can you post the design you used? What version of BIRT are you using?
Jason
On 4/10/2012 3:10 AM, Chris K wrote:
> Hi all,
>
> I've built a Grid with for example 20 x 15 cells, which exactly fits into a single page. Now I put a Table (or another Grid, doesn't matter) inside one Cell, which contains a lot of data.
>
> When I run and render this design via API, I get the following result (see attachment), which is obviously wrong, because every two pages there is just a tiny piece of the Cell (therefore I painted it green, to show it's still the same Cell).
>
> When I render the design via the BIRT Eclise Plugin instead, it shows the right solution in the "Preview"-Window and even when exporting it there to PDF.
>
> Any suggestions? Am I missing some "CSS"-like Statements? I really don't know where the difference is.
>
> Thanks for your help!
> - Chris
|
|
| |
Re: Table inside a Grid (pagination problem) [message #842766 is a reply to message #842282] |
Thu, 12 April 2012 15:53   |
|
Chris,
If you preview with the webviewer and then export to pdf do you get the
same issue? I do. This is equivalent to using the api for separate run
and render tasks.
Jason
On 4/12/2012 2:38 AM, Chris K wrote:
> Hi Jason,
>
> I am using BIRT 3.7.2 and I am generating the reports via API. I uploaded the design now - it's just other content than in the PDF above, but it's still the same problem.
>
> When I open the (generated) design in the BIRT-Eclipse-Plugin, everything looks ok. If I render the (generated) design through my application, I get the PDF above as a result. (I am using a seperated Run and Render Task)
>
> Thanks for your help! :)
|
|
|
Re: Table inside a Grid (pagination problem) [message #842775 is a reply to message #842282] |
Thu, 12 April 2012 15:53   |
|
Chris,
If you preview with the webviewer and then export to pdf do you get the
same issue? I do. This is equivalent to using the api for separate run
and render tasks.
Jason
On 4/12/2012 2:38 AM, Chris K wrote:
> Hi Jason,
>
> I am using BIRT 3.7.2 and I am generating the reports via API. I uploaded the design now - it's just other content than in the PDF above, but it's still the same problem.
>
> When I open the (generated) design in the BIRT-Eclipse-Plugin, everything looks ok. If I render the (generated) design through my application, I get the PDF above as a result. (I am using a seperated Run and Render Task)
>
> Thanks for your help! :)
|
|
|
Re: Table inside a Grid (pagination problem) [message #842785 is a reply to message #842282] |
Thu, 12 April 2012 15:53   |
|
Chris,
If you preview with the webviewer and then export to pdf do you get the
same issue? I do. This is equivalent to using the api for separate run
and render tasks.
Jason
On 4/12/2012 2:38 AM, Chris K wrote:
> Hi Jason,
>
> I am using BIRT 3.7.2 and I am generating the reports via API. I uploaded the design now - it's just other content than in the PDF above, but it's still the same problem.
>
> When I open the (generated) design in the BIRT-Eclipse-Plugin, everything looks ok. If I render the (generated) design through my application, I get the PDF above as a result. (I am using a seperated Run and Render Task)
>
> Thanks for your help! :)
|
|
|
Re: Table inside a Grid (pagination problem) [message #842794 is a reply to message #842282] |
Thu, 12 April 2012 15:53   |
|
Chris,
If you preview with the webviewer and then export to pdf do you get the
same issue? I do. This is equivalent to using the api for separate run
and render tasks.
Jason
On 4/12/2012 2:38 AM, Chris K wrote:
> Hi Jason,
>
> I am using BIRT 3.7.2 and I am generating the reports via API. I uploaded the design now - it's just other content than in the PDF above, but it's still the same problem.
>
> When I open the (generated) design in the BIRT-Eclipse-Plugin, everything looks ok. If I render the (generated) design through my application, I get the PDF above as a result. (I am using a seperated Run and Render Task)
>
> Thanks for your help! :)
|
|
| |
Re: Table inside a Grid (pagination problem) [message #843991 is a reply to message #843564] |
Fri, 13 April 2012 15:15   |
|
Chris,
I removed the pixel setting on the grid row and just set the height and
width for the whole grid and I get only three pages. I am not certain
this is what you want though. Take a look at the report.
Jason
On 4/13/2012 2:43 AM, Chris K wrote:
> Jason,
>
> yes, I indeed get the same issue. So is the answer to use the combined
> IRunAndRenderTask? If yes, how should I do pagination in my reports anyway?
>
> Thanks for your help!
>
> Chris
|
|
| |
Goto Forum:
Current Time: Fri Mar 24 17:05:27 GMT 2023
Powered by FUDForum. Page generated in 0.24095 seconds
|