This version of the Help is no longer updated. See JMP.com/help for the latest version.

.
Scripting Guide > Data Tables > Rows > Hide, Exclude, and Label Rows
Publication date: 07/30/2020

Hide, Exclude, and Label Rows

Note: For more information about hiding, excluding, and labeling rows using row state functions, see Row States.

Use the Hide, Exclude, and Label messages to hide, exclude, and label rows. These messages are toggles, meaning that to turn the messages on you send them once, and to turn them off you send the message a second time. They also accept Boolean arguments to explicitly turn them off and on.

For example, to hide all rows in Big Class where age is greater than 13, you could do the following:

dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << Select Where( :age > 13 );
dt << Hide( 1 );

Messages to the same object can be stacked together in a single statement, so you could simplify the preceding script.

dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt << Select Where( :age > 13 ) << Hide( 1 );
Want more information? Have questions? Get answers in the JMP User Community (community.jmp.com).