Skip to main content



      Home
Home » Archived » BIRT » Show empty text elements in report
Show empty text elements in report [message #1148331] Mon, 21 October 2013 08:28 Go to next message
Eclipse UserFriend
Hi,

I have a table with one column and two rows in its detail part. The second row contains an image while the first row contains a Text element. When the column binded to the Text element doesn't contain any text value, the Text element is removed from the layout.

I would like to keep the Text element within the layout so there will be an empty space. How can I do that?

When I use Data element, it works as I expected. But Data element can't show HTML.

[Updated on: Mon, 21 October 2013 09:14] by Moderator

Re: Show empty text elements in report [message #1148676 is a reply to message #1148331] Mon, 21 October 2013 13:16 Go to previous messageGo to next message
Eclipse UserFriend
Have you tried putting the text element into a grid within the table cell?
Re: Show empty text elements in report [message #1148768 is a reply to message #1148676] Mon, 21 October 2013 14:36 Go to previous messageGo to next message
Eclipse UserFriend
Yes, I put it into a grid. It doesn't help.
The only solution so far is to set a fixed height on the row of the grid containing that Text element.

I would like to find a better solution. Something like a 'showIfBlank' property. In fact that property exists, but it's ignored.
At least in matter of this meaning.
Re: Show empty text elements in report [message #1162832 is a reply to message #1148768] Wed, 30 October 2013 12:56 Go to previous messageGo to next message
Eclipse UserFriend
ping
Re: Show empty text elements in report [message #1196948 is a reply to message #1162832] Tue, 19 November 2013 12:28 Go to previous message
Eclipse UserFriend
Sorry for the delay. You could probably write a line of script in the onCreate method of the grid to check the row value used in the text box. If it's blank, you could set the height on the grid. If it's not, you'd leave it unset. Let me know.
Previous Topic:How to use an XML datasource with the API report engine ?
Next Topic:getting rid of pagebreaks in script
Goto Forum:
  


Current Time: Thu May 15 13:09:29 EDT 2025

Powered by FUDForum. Page generated in 0.04988 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top