Skip to main content



      Home
Home » Archived » BIRT » How to overlay a table cell with a grid?(How to overlay a table cell with a grid?)
How to overlay a table cell with a grid? [message #1029247] Fri, 29 March 2013 07:27 Go to next message
Eclipse UserFriend
Hello all,

I have the following question. Is there a possibility to overlay a table cell with a grid? I am having a URI image source queried conditionaly. I want to use this image as a background in the table cell and the grid cell to display the value. I want this two to be one in other, centered.

If you have a solution, please let me know.

Thank you very much.
Re: How to overlay a table cell with a grid? [message #1029555 is a reply to message #1029247] Fri, 29 March 2013 17:25 Go to previous messageGo to next message
Eclipse UserFriend
So, within the table, you just want to change the background image for the cell and then display a text over it? This should be able to be done just by setting the background image dynamically and having your data element within the table cell with your text, like normal. Maybe I'm misunderstanding the issue.
Re: How to overlay a table cell with a grid? [message #1031096 is a reply to message #1029555] Mon, 01 April 2013 03:05 Go to previous messageGo to next message
Eclipse UserFriend
Hi Michael,


Thank you for your answer. Problem is that I use a condition in the SQL query. I only retreive a cell value that based on the query condition will display an image (traffic light) in an image cell, URI type. What I want is to put one grid with 2 rows, one with value and the other with u.m. (this one will be a text cell with default value) over this png image. Table cell already has the desired dimensions so the image to fit properly.

Can you give me an example based on these requirements?

If you have any idea, please let me know.

Thank you again!
Re: How to overlay a table cell with a grid? [message #1032142 is a reply to message #1031096] Tue, 02 April 2013 12:08 Go to previous messageGo to next message
Eclipse UserFriend
What is your BIRT version?
Re: How to overlay a table cell with a grid? [message #1032580 is a reply to message #1032142] Wed, 03 April 2013 03:14 Go to previous messageGo to next message
Eclipse UserFriend
BIRT version is 2.6.1

Thank you, Michael!
Re: How to overlay a table cell with a grid? [message #1033313 is a reply to message #1032580] Thu, 04 April 2013 01:17 Go to previous message
Eclipse UserFriend
You should be able to put something like:

this.getStyle().backgroundImage = row["imageURL"];

in the onCreate of the table cell. Then, simply put a grid within the table cell. Maybe I'm misunderstanding the issue. Let me know.
Previous Topic:to get value from parameter
Next Topic:parameter passed to subreport in arabic letters
Goto Forum:
  


Current Time: Mon Apr 28 12:14:28 EDT 2025

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

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

Back to the top