<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Dynamic content inside a table visualization</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/c56c5ebc47/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Visualization/thread/c56c5ebc47/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Visualization/thread/c56c5ebc47/</id><updated>2023-06-14T07:29:55.991000Z</updated><subtitle>Recent posts to Dynamic content inside a table visualization</subtitle><entry><title>Dynamic content inside a table visualization</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/c56c5ebc47/?limit=25#c5d7" rel="alternate"/><published>2023-06-14T07:29:55.991000Z</published><updated>2023-06-14T07:29:55.991000Z</updated><author><name>codesysnewbie</name><uri>https://forge.codesys.com/u/codesysnewbie/</uri></author><id>https://forge.codesys.comabfba1d83bef61717db4d050436437a88cdfaa9a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I wonder is it possible to have a dynamic content inside a &lt;a class="" href="https://help.codesys.com/webapp/_visu_elem_table;product=core_visualization;version=3.5.14.0" rel="nofollow"&gt;table&lt;/a&gt;?  i.e. we need to show variable number of rows in a table (we don't know a limit in advance).&lt;/p&gt;
&lt;p&gt;I've tried to create a dynamic array of structures using something like this:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="n"&gt;foo&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="n"&gt;pointer&lt;/span&gt; &lt;span class="n"&gt;to&lt;/span&gt; &lt;span class="n"&gt;struct_type&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;

&lt;span class="n"&gt;foo&lt;/span&gt; &lt;span class="o"&gt;:=&lt;/span&gt; &lt;span class="n"&gt;__new&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;byte&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt; &lt;span class="n"&gt;sizeof&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="n"&gt;struct_type&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;number_of_elements&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;and providing the table visualization with the 'foo' (into the "&lt;em&gt;Data array&lt;/em&gt;" property).  But the table shows only the first structure from the 'foo' memory.&lt;/p&gt;
&lt;p&gt;How can I implement dynamic content in the table?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>