<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Showing nothing instead the %f in case another variable is empty</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/4694969659/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Visualization/thread/4694969659/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Visualization/thread/4694969659/</id><updated>2022-05-19T07:20:45.816000Z</updated><subtitle>Recent posts to Showing nothing instead the %f in case another variable is empty</subtitle><entry><title>Showing nothing instead the %f in case another variable is empty</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/4694969659/?limit=25#db36" rel="alternate"/><published>2022-05-19T07:20:45.816000Z</published><updated>2022-05-19T07:20:45.816000Z</updated><author><name>joanm</name><uri>https://forge.codesys.com/u/joanm/</uri></author><id>https://forge.codesys.comb3637500a5494bb7f7492affcaf94ff0e25a662e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Found the better way: just use the condition to multiply the font color and if the text is '' then I can BOOL_TO_INT the condition (1) and * it for the transparent font color + BOOL_TO_INT (0) the &amp;lt;&amp;gt; '' condition to * it for the black font color without transparency.&lt;/p&gt;
&lt;p&gt;:)&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Showing nothing instead the %f in case another variable is empty</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/4694969659/?limit=25#9fd1" rel="alternate"/><published>2022-05-18T19:03:18.502000Z</published><updated>2022-05-18T19:03:18.502000Z</updated><author><name>joanm</name><uri>https://forge.codesys.com/u/joanm/</uri></author><id>https://forge.codesys.com17dc77332a0d168f2c3d3d15c179e7fce30c8ab4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello all,&lt;/p&gt;
&lt;p&gt;I have a series of rectangles emulating a table control.  6 columns x 6 rows.&lt;br/&gt;
Odd rows are white background and even rows are grey (mimicking a table too).&lt;/p&gt;
&lt;p&gt;This said, this gets populated automatically, and the first column has the name of the item and the other columns have the values related to that item.&lt;/p&gt;
&lt;p&gt;Sometimes not all the rows are filled and the item name (first column) is an empty string ('') which looks like an empty cell.&lt;br/&gt;
But all the other columns show "0.00000":&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Name&lt;/th&gt;
&lt;th&gt;Value 1&lt;/th&gt;
&lt;th&gt;Value 2&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;OneName&lt;/td&gt;
&lt;td&gt;1.2345&lt;/td&gt;
&lt;td&gt;1.2345&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;0.00000&lt;/td&gt;
&lt;td&gt;0.00000&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;In this case, I'd like to show another empty cell instead of the "0.00000":&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Name&lt;/th&gt;
&lt;th&gt;Value 1&lt;/th&gt;
&lt;th&gt;Value 2&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;OneName&lt;/td&gt;
&lt;td&gt;1.2345&lt;/td&gt;
&lt;td&gt;1.2345&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;I can only think of hiding the rectangle and showing another rectangle that's empty to simulate an empty cell, but... is there any better way you can hint me to use?&lt;/p&gt;
&lt;p&gt;As always, thank you very much in advance.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>