cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Try the Materials Informatics Toolkit, which is designed to easily handle SMILES data. This and other helpful add-ins are available in the JMP® Marketplace
Choose Language Hide Translation Bar
ih
Super User (Alumni) ih
Super User (Alumni)

Unhide/Unexclude rows without changing other row states using JSL

How can you clear a specific row state (ex: excluded) without modifying any other states (ex: color)?

 

Today I get the table's row states, convert the applicable row states to binary, clear the appropriate digits, convert it back to decimal and set the row state again using As row state().

 

The reverse, excluding a row leaving other sates intact is pretty straight forward:

//Open table and set a row to selected/hidden
Names default to here( 1);
dt = Open( "$Sample_data/iris.jmp" );
Row state(3) = As row state( 5 );

//Exclude the row without changing other states of the row
Row state(3) = Combine States(Row state(3), Excluded State(1));

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
txnelson
Super User

Re: Unhide/Unexclude rows without chaning other row states using JSL

When I have had to do these kind of thing, I have done as you are currently doing.

Jim

View solution in original post

1 REPLY 1
txnelson
Super User

Re: Unhide/Unexclude rows without chaning other row states using JSL

When I have had to do these kind of thing, I have done as you are currently doing.

Jim