Choose Language Hide Translation Bar
saitcopuroglu
Community Trekker

Script for collapsing each head title

Does someone know what is the script command for collapsing uncollapsing the head title?

This is the default:

8345_Screen Shot 2015-03-13 at 13.01.46.png

I would like to feel free if i would like this result as final (sometimes too much outputs to scroll through)

8347_Screen Shot 2015-03-13 at 13.01.55.png

Thanks all in advance

0 Kudos
1 REPLY 1
pmroz
Super User

Re: Script for collapsing each head title

Here's an example that will do what you want.  You need to convert the tabulation to a report and then you can send messages to the first outline box, which will collapse the head title.

dt = open("$sample_data\Car Physical Data.jmp");

dtab = dt << Tabulate(

     Show Control Panel( 0 ),

     Add Table(

           Column Table( Analysis Columns( :Weight ), Statistics( Mean ) ),

           Column Table( Analysis Columns( :Turning Circle ), Statistics( Mean ) ),

           Column Table( Analysis Columns( :Displacement ), Statistics( Mean ) ),

           Column Table( Analysis Columns( :Horsepower ), Statistics( Mean ) ),

           Column Table( Analysis Columns( :Gas Tank Size ), Statistics( Mean ) ),

           Row Table( Grouping Columns( :Country, :Type ) )

     )

);

dt_report = report(dtab);

dt_report[outline box(1)] << close(1);

0 Kudos