Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
TableFeature addColumn does not modify Table
Posted 2020年1月20日 GMT-5 05:58 API, Simulation Apps, Results & Visualization Version 5.4 1 Reply
Please login with a confirmed email address before reporting spam
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?