Hi JSL Experts,
I would like to connect column names with a String Col Box with the example below. The Col List Box will update the column status (add/delete/rename) automatically which is the functionality I need for the String Col Box. So, I create a Col List Box and then connect it to the String Col Box.
It seems works, but I would like to hide the Col List Box or run it at the background. However, when I set Box1<<visibility(Hidden), then it lost the connect from the data table. Any suggestions would be greatly appreciated.
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
New window("Connect dt with String Col box",
Box1=Col list box(dt, all,
on change(
Cols=Box1<<get items;
Box2<<set values(Cols);
)
),
Table box(
Box2=String col box("Columns",Cols=Box1<<get items)
)
);Best,
Tzu-Chun Wu