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
Thierry_S
Super User

JMP > JSL > Col List Box [grouped] + [<< set data type (numeric)] cannot coexist: Possible bug

Hi JMP Community,

I am not sure if I came across a bug or a feature in JSL: when I specify in both the "grouped" and "<< Set Data Type ("numeric")" in a call to Col List Box, the "grouped" parameter is ignored.

 

New Window ("MENU",
	
	clb = Col List Box (Datatable (dt), all, grouped, <<set data type ("numeric"))
		
);

I can see the possible logic of not enabling both when a group contains both Numeric and Character columns, but in my case, the grouped columns are homogeneously set to numeric.

Is there a trick to enable both the "grouped" and the "<< Set Data Type()" parameters is this function?

Best,

TS

 

Thierry R. Sornasse
1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: JMP > JSL > Col List Box [grouped] + [<< set data type (numeric)] cannot coexist: Possible bug

Didn't manage to get Col List Box working with grouping.

 

Depending what you want to do, maybe you could use Filter Col Selector?

 

Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Probe.jmp");

nw = New Window("MENU", 
	H List Box(
		clb = Col List Box(Data Table(dt), all, grouped, <<set data type("numeric")),
		fcs  = Filter Col Selector(Data Table(dt), all, <<character(0))
	)
);

 

 

-Jarmo

View solution in original post

1 REPLY 1
jthi
Super User

Re: JMP > JSL > Col List Box [grouped] + [<< set data type (numeric)] cannot coexist: Possible bug

Didn't manage to get Col List Box working with grouping.

 

Depending what you want to do, maybe you could use Filter Col Selector?

 

Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Probe.jmp");

nw = New Window("MENU", 
	H List Box(
		clb = Col List Box(Data Table(dt), all, grouped, <<set data type("numeric")),
		fcs  = Filter Col Selector(Data Table(dt), all, <<character(0))
	)
);

 

 

-Jarmo