Quantcast
Channel: Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 5773

TableFeature addColumn does not modify Table

$
0
0

Hi,

I am trying to create a Result Table in the App Builder using this code:

String tableTag = model.result().table().uniquetag("dott");
TableFeature table = model.result().table().create(tableTag, "Table");

Later, when I got the results I try to add them column by column using this method:

table.addColumns(new String[]{"time"}, extraArray);
table.addColumns(new String[]{""+thickness}, realdata);

Both extraArray and realdata are double[][] according to the reference. But when I display the Table in a resultstable view, the Table is empty (also when I try to get the data with e.g getColumnHeaders the added Columns do not show up)

Is there any reason for this. Where did I make a mistake?


Viewing all articles
Browse latest Browse all 5773

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>