cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Instantly extract effect sizes, F-ratios, and FDR-adjusted p-values from your models with the Calculate Effects Sizes extension, available now in the JMP Marketplace!
  • New to JMP? Join us Sept. 23-24 for the Early User Edition of Discovery Summit, tailor-made for new users. Register now for free!
  • Your voice matters! Tell us how you prefer to receive JMP updates, so we can tailor our communication to your needs. Take short survey.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
twalk
Level III

Specify table in Filter Col Selector

We are trying to use Filter Col Selector in JMP Pro 15.0.0. It works if we bring the data table to the front, but that is not good for our addin. It would be better to call the table by name in Filter Col Selector. The scripting index says data table is an argument for Filter Col Selector, but I can't make it work.

 

In the following example, how do we get Filter Col Selector to work with dt1 without changing the order of opening tables and not using Bring Window

To Front?

 

Names Default To Here( 1 );
dt1 = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt2 = Open( "$SAMPLE_DATA/Cities.jmp" );
New Window( "Filter Col Selector Example",
	lb = Filter Col Selector( dt1, width( 250 ) )
);

Thanks for any suggestions.

 

1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: Specify table in Filter Col Selector

Placing Datatable() around dt1 seems to work at least with this example

Names Default To Here( 1 );
dt1 = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt2 = Open( "$SAMPLE_DATA/Cities.jmp" );
New Window( "Filter Col Selector Example",
	lb = Filter Col Selector(Datatable(dt1), width( 250 ) )
);
-Jarmo

View solution in original post

2 REPLIES 2
jthi
Super User

Re: Specify table in Filter Col Selector

Placing Datatable() around dt1 seems to work at least with this example

Names Default To Here( 1 );
dt1 = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt2 = Open( "$SAMPLE_DATA/Cities.jmp" );
New Window( "Filter Col Selector Example",
	lb = Filter Col Selector(Datatable(dt1), width( 250 ) )
);
-Jarmo
twalk
Level III

Re: Specify table in Filter Col Selector

Works for me. That is all I need. Why didn't I think of that? Thank you.

Recommended Articles