# Table Background Color with any transparency glitch

**URL:** <https://forum.inductiveautomation.com/t/table-background-color-with-any-transparency-glitch/5240>\
**Category:** Ignition\
**Created:** [October 4, 2012, 10:07pm UTC](https://forum.inductiveautomation.com/t/table-background-color-with-any-transparency-glitch/5240 "2012-10-04T22:07:47Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![techerdone](https://avatars.discourse-cdn.com/v4/letter/t/9fc348/32.png) [@techerdone](https://forum.inductiveautomation.com/u/techerdone)\
**Post date:** [October 4, 2012, 10:07pm UTC](https://forum.inductiveautomation.com/t/table-background-color-with-any-transparency-glitch/5240/1 "2012-10-04T22:07:47Z")

</div>

When we use any value of transparency for the background color of a table, the table acts weird and grabs others parts of the screen and displays them inside the table. Below are two images. The first is how the table loads by default, everything looks fine, and the second is after selecting the 3rd row then selecting the 2nd row. You can see how it has grabbed the ‘Trial Timeout’ area of the client.

What I am attempting to achieve is to have a table with images mapped to values and text over those image mappings. The only way we can figure to do this would be to use two tables, one for the image mapping and the other for text transparently layered on top of the image table. If there is a better way to achieve this, let me know!

Ignition 7.3.4 (b599)

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/3/3443aabe1c639be6f42c8d1933fd0da2eb5351c7.jpg)  
  
 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/a/afd69223ea5f284824ec3f3b5f2f4c8bbf62b555.jpg)

---

<div class="post-metadata">

**Author:** ![dave.fogle](https://avatars.discourse-cdn.com/v4/letter/d/43a26b/32.png) [@dave.fogle](https://forum.inductiveautomation.com/u/dave.fogle)\
**Post date:** [October 4, 2012, 10:47pm UTC](https://forum.inductiveautomation.com/t/table-background-color-with-any-transparency-glitch/5240/2 "2012-10-04T22:47:25Z")

</div>

Unfortunately I don't think there is going to be a way to achieve this. We are aware of the transparency issue, but currently there is no workaround for this.

---

<div class="post-metadata">

**Author:** ![techerdone](https://avatars.discourse-cdn.com/v4/letter/t/9fc348/32.png) [@techerdone](https://forum.inductiveautomation.com/u/techerdone)\
**Post date:** [October 5, 2012, 6:06pm UTC](https://forum.inductiveautomation.com/t/table-background-color-with-any-transparency-glitch/5240/3 "2012-10-05T18:06:18Z")

</div>

That is very unfortunate. I’ll just have to figure out a way.

---

<div class="post-metadata">

**Author:** ![Travis.Cox](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@Travis.Cox](https://forum.inductiveautomation.com/u/Travis.Cox)\
**Post date:** [October 5, 2012, 6:26pm UTC](https://forum.inductiveautomation.com/t/table-background-color-with-any-transparency-glitch/5240/4 "2012-10-05T18:26:33Z")

</div>

If the text has a finite number of states, you can always make images (png) with text over an icon and use those in the translation map.

---

<div class="post-metadata">

**Author:** ![techerdone](https://avatars.discourse-cdn.com/v4/letter/t/9fc348/32.png) [@techerdone](https://forum.inductiveautomation.com/u/techerdone)\
**Post date:** [October 8, 2012, 5:35pm UTC](https://forum.inductiveautomation.com/t/table-background-color-with-any-transparency-glitch/5240/5 "2012-10-08T17:35:04Z")

</div>

The customer wants the entire system to be dynamic with minimal interaction when adding new projects. We have been able to achieve this on all fronts until this little obstacle. So, in short, there is not a finite number of projects.

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [October 10, 2012, 11:44pm UTC](https://forum.inductiveautomation.com/t/table-background-color-with-any-transparency-glitch/5240/6 "2012-10-10T23:44:46Z")

</div>

The underlying table we use from Java swing doesn’t lend itself towards transparency due to how it renders the cells.

I think we’re going to have to attack this from another angle. What if we could get an image displayed in the background of a cell and text on top of it in a single table? The only trick would be how to configure the table to know what image to use for the cell background.

---

<div class="post-metadata">

**Author:** ![techerdone](https://avatars.discourse-cdn.com/v4/letter/t/9fc348/32.png) [@techerdone](https://forum.inductiveautomation.com/u/techerdone)\
**Post date:** [October 11, 2012, 7:24pm UTC](https://forum.inductiveautomation.com/t/table-background-color-with-any-transparency-glitch/5240/7 "2012-10-11T19:24:02Z")

</div>

> [@](#):
>
> What if we could get an image displayed in the background of a cell and text on top of it in a single table?

That is exactly what we need.  
We could use the Image Path List (with Key Mapping) but allow the user to define which column (let's say an extra hidden column) the Key will be using for comparison.  
In our case we only need the image to change for 2 different columns based on the value from 1 status column.

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [October 16, 2012, 3:55pm UTC](https://forum.inductiveautomation.com/t/table-background-color-with-any-transparency-glitch/5240/8 "2012-10-16T15:55:28Z")

</div>

I’ve entered this feature request in as a ticket. We’ll update this thread when it happens.

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [October 17, 2012, 9:53pm UTC](https://forum.inductiveautomation.com/t/table-background-color-with-any-transparency-glitch/5240/9 "2012-10-17T21:53:55Z")

</div>

This made it into 7.5.4

---

<div class="post-metadata">

**Author:** ![techerdone](https://avatars.discourse-cdn.com/v4/letter/t/9fc348/32.png) [@techerdone](https://forum.inductiveautomation.com/u/techerdone)\
**Post date:** [October 18, 2012, 6:06pm UTC](https://forum.inductiveautomation.com/t/table-background-color-with-any-transparency-glitch/5240/10 "2012-10-18T18:06:52Z")

</div>

Awesome, now to wait for the customer to agree to the upgrade!
