<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>28 May 2015 16:26:18 Z</lastBuildDate><pubDate>28 May 2015 15:03:00 Z</pubDate><description>I'm trying to show a table from CSV data.&#13;
&#13;
1. Loading the file into memory with fOpen() and fRead()&#13;
2. Building an array with csvtoarray()&#13;
&#13;
&#13;
Now I want to fill a table in my window with the data from my array. I have a table with one column which represents the row id.&#13;
&#13;
Then I am able to add columns to the table with ControlClone. I can change the column title with an indirection like this&#13;
&#13;
[code:wl]&#13;
{"TABLE_data.COL_"+i}..Title = garrData[1,i]&#13;
[/code]&#13;
&#13;
But I don't see how to add the data with for example TableAddLine() since I don't know the number of parameters in advance!&#13;
&#13;
How are you doing tables with a variable/flexible amount of columns?&#13;
&#13;
TIA&#13;
Sebastian&#13;
&#13;
--&#13;
--&#13;
http://arnoldconsult.de</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52359-table-with-variable-flexible-amount-columns/read.awp</link><title>Table with variable/flexible amount of columns</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>fromweb</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52359-table-with-variable-flexible-amount-columns-52363/read.awp</comments><pubDate>28 May 2015 16:26:18 Z</pubDate><description>Hi Sebastian&#13;
&#13;
just use indirection to add your data: ad an empty line with &#13;
tableaddline, then loop on the column names with …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52359-table-with-variable-flexible-amount-columns-52363/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52359-table-with-variable-flexible-amount-columns-52363/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52359-table-with-variable-flexible-amount-columns/read.awp">Table with variable/flexible amount of columns</source><title>Re: Table with variable/flexible amount of columns</title></item></channel></rss>
