Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [birt-dev] Birt : Have to set default height to the Grid
  • From: Marco Bartolini <marco.bartolini@xxxxxxxxxxx>
  • Date: Thu, 20 Aug 2020 13:22:48 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=workday.com; dmarc=pass action=none header.from=workday.com; dkim=pass header.d=workday.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=LAj2kVt6Xcla5US6j8pr9ZEi2KrrSXbM6WK2O+fq5HM=; b=YQvMmQKh9NmzW+UfmOkqNbvZ1a87G8WRwWWo2dpDXkYsae4YDOmMIE0gGosuyWT1ifqI2nC4m8qODR9l7lamVWs7Ukip2eI2sf5fwIiVkdRWM09+hWrd1nBjW0OEMUnFojSVDc+dCAgfj/Wo7N9zigsBApBFNPzQK2765wIszM12nyWzRkTfusRr4qskO1QsXEVyYfKN5AyY2EQvKd7K3YVdM8JmCcph2UF5+crV0N+z+5c2a0U3r7S08z4BYjLWRFt8NoZ7OwWh0gdFdXyYYSeOslzp0L7OEhPL88yZNuhhDB4cd88x69H68goO4Og5FhnK1EjAPnAqqSlYqJQ7gg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MVIteBCjM44Jihlppn8c4f6GPeq387fMROQ1X9/FrWSPGp4vnexTFS6JkbZrjUIdcnhxyg2DfNXV3SoLVGXj6dnEDFqKz1Czq/VErqyhClD3te8i9zvq88rWI9WJ/6U/uEwDOJFFwXWBAMdDzPo2Q317slZR8ejkr9ERGoTgGbdScIWhTvr9hG2VU+l2UU22+Hup7JdrmdCq6cBbY8i9Hi6Jlv/XApczqi6G4f3r8FErZ7iA3kpAIN8pyGvr1rm+k4DGPsP/rrp4WWpmrzot1oI0C+QRiQYgUxdBcXYoVuzBXm48nHdG4b3eTbjO7WOQWS9Bfm3ZCSrN4Lb24sfH4w==
  • Delivered-to: birt-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/birt-dev>
  • List-help: <mailto:birt-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/birt-dev>, <mailto:birt-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/birt-dev>, <mailto:birt-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHWbKeKqTQrnRuugk6g8iD7SeWpXak1hukAgAqL1wCAAQ6xgA==
  • Thread-topic: [birt-dev] Birt : Have to set default height to the Grid

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?

 

Wayne

 

On Thu, Aug 13, 2020, 01:17 Vijay Panneerselvam, <vijaypanneerselvam.0007@xxxxxxxxx> wrote:

Could someone please help me to achieve this.

 

On Fri, Aug 7, 2020 at 4:06 PM Vijay Panneerselvam <vijaypanneerselvam.0007@xxxxxxxxx> wrote:

Hi All,

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.

 

 

Regards,

Vijay

_______________________________________________
birt-dev mailing list
birt-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/birt-dev


Back to the top