Hey there,
I’m not from the Eclipse BIRT project dev, but I faced the same issue back in 2017 the issue is due to:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=551651
https://bugs.eclipse.org/bugs/show_bug.cgi?id=542614
the questioned line of code is this one
https://github.com/eclipse/birt/blob/758df0fb8d048cce195a711cb2f51569c35f3c88/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/nLayout/area/impl/TableLayout.java#L811
the regression was introduced in 4.6.0 with the new method isEmptyRow, if I remember well it’s fixing an issue with an endless page-break.
the easy way to work around the bug in 4.4.2 was to use the AUTO LAYOUT as opposed to FIXED LAYOUT in the report.design, for the shrunk lines there’s no good workaround, either you patch the plugin
(if you want to reintroduce the bug and get the previous behaviour just remove the condition `
cell.getChildrenCount( ) > 0` ) or you put something inside, I sincerely don’t remember if an empty string would do the job though
we just reverted the fix and applied the workaround of 4.4.2 because the customer affected where just a bunch
Marco
From: <birt-dev-bounces@xxxxxxxxxxx> on behalf of Wayne Beaton <wayne.beaton@xxxxxxxxxxxxxxxxxxxxxx>
Reply to: For developers on the BIRT project <birt-dev@xxxxxxxxxxx>
Date: Wednesday 19 August 2020 at 23:14
To: For developers on the BIRT project <birt-dev@xxxxxxxxxxx>
Subject: Re: [birt-dev] Birt : Have to set default height to the Grid
Can somebody from the Eclipse BIRT project please respond?
Could someone please help me to achieve this.
I am trying to set the default height to the grid even though that grid doesn't have that much content, it is ok to show empty space for me. So I used a list to show my header values and for the details section, used Grid to paint the data
in the required manner. Data for the Grid will be based on my JDBC connection (Sample) . Here I tried with My SQL connection (Sample) and expected report type is 'PDF'. But my actual project is a scripted data set for MSSQL db.
To achieve this, I had given a height to the Grid which is 7 inch, but it is not considered. Grid is shrinking based on the content inside it.
Attached sample report design document and also sample table data.
This is a high priority issue for me, kindly help me to achieve this requirement.
_______________________________________________
birt-dev mailing list
birt-dev@xxxxxxxxxxx
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/birt-dev