Hi Dave,
I would like to create a string col box which reflect the column change of a data table. For example, if I have columns {"Column 1", "Column 2"} and add a new column "Column 3" later, it will be great if the string column box can be updated automatically without any other actions.
dt=new table("Table",
New column("Column 1"),
New column("Column 2")
);
New window("",
Table box(
String Col box("Columns", dt<<get column names("String")),
Col List box(dt, all)
)
);
wait(1);
dt<<new column("Column 3");
The "get column names" is a good idea, but the string col box will not be updated automatically. Here is the comparison between String Col box and Col list box.
before adding column 3
After Adding Column 3
Help the details helps.
Tzu-Chun