Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
Graph Builder Toolbar streamlines interactive graphing. Creates shortcuts on Report and GraphBuilder Helpers toolbars. Download and install the extension.
Created:
Sep 14, 2022 07:58 AM
| Last Modified: Jun 10, 2023 4:54 PM(1962 views)
Is there a way to collapse Table Variables/Scripts from Data Box / change height of Columns list to hide it? Or is there any other way of getting column listing from data table with same functionalities?
What I have:
What I would like to have:
Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp", invisible);
New Window("Big Class",
H List Box(
lb = List Box(dt << Get Column Names("String"),
dt << Select Columns(lb << Get Selected);
),
H List Box(dg = dt << New Data Box())
)
);
dg << close data grid(1);
I could try hiding it with Padding but that sounds like more trouble than I really want
Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Big Class.jmp", invisible);
New Window("Big Class",
H List Box(
lb = List Box(dt << Get Column Names("String"),
dt << Select Columns(lb << Get Selected);
),
Border Box(Sides(15),
H List Box(dg = dt << New Data Box(), Text Box(" asdasd"))
)
)
);
dg << close data grid(1);
dg << Set Auto Stretching(0,0);
dg << Padding(Left(0), Top(-210), Right(0), Bottom(0));
Have you tried a Col List Box with the grouped property turned on?
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
Data Table( "Big Class" ) << Group Columns( "height etc.", {:height, :weight} );
New Window( "Col List Box Example 1", Col List Box( all, width( 250 ), grouped, maxSelected( 1 ) ) );