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

Remove checkbox selection in Column Info window

I can't for the life of me find documentation on how to uncheck a box in the column info window through jsl.

 

I'm trying to set a column data type to "Precision" and I don't want "Keep trailing zeroes" selected. 

 

When I run the code below, "Keep trailing zeroes" is selected by default. 

column<<format("Precision",12,2)

 

1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: Remove checkbox selection in Column Info window

https://www.jmp.com/support/help/en/17.2/#page/jmp/column-messages.shtml?os=win&source=application#w...

col<<Format("Precision", <width>, <decimal places>, <"Use Thousands Separator">, <"Keep Trailing Zeroes">, <"Keep All Whole Digits">)

not exactly sure though what the syntax is to disable it... so I tested few options and this seemed to work

Names Default To Here(1); 

dt = open("$SAMPLE_DATA/Big Class.jmp");

Column(dt, "height")<< Format("Precision", Keep trailing zeroes(0), 7, 1);
-Jarmo

View solution in original post

1 REPLY 1
jthi
Super User

Re: Remove checkbox selection in Column Info window

https://www.jmp.com/support/help/en/17.2/#page/jmp/column-messages.shtml?os=win&source=application#w...

col<<Format("Precision", <width>, <decimal places>, <"Use Thousands Separator">, <"Keep Trailing Zeroes">, <"Keep All Whole Digits">)

not exactly sure though what the syntax is to disable it... so I tested few options and this seemed to work

Names Default To Here(1); 

dt = open("$SAMPLE_DATA/Big Class.jmp");

Column(dt, "height")<< Format("Precision", Keep trailing zeroes(0), 7, 1);
-Jarmo