cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Don’t miss your chance to experience Discovery Summit Europe at our best available rate! Early bird registration through 31 Oct.
  • Image to Table JMP extension imports single or batch images as data tables. Useful to extract curves from pictures or convert image data to curve data to use in analyses like Functional Data Explorer. Download and install the extension.

Discussions

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

Select specific columns with JSL name contains code

The Name contains script:

 

Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
New Window( "Filter Col Selector Example",
    fontobj = lb = Filter Col Selector( width( 250 ) )
);
lb << Name contains( "a" );

 

delviers all colums, which contains a. What code must be added in order to mark one of these columns by clicking or double clikking the column from the list box?

 

23 REPLIES 23
Thomas1
Level V

Re: Select specific columns with JSL name contains code

Perfect!

Now the JSL is working as it was intended. This makes things much easier. Thanks again.

Re: Select specific columns with JSL name contains code

Very good exmple. Could you also have similar jsl for row selector for a column?

Thanks

ram

Re: Select specific columns with JSL name contains code

Also, can we do similar filter for the items in a list? Thanks Ram
gzmorgan0
Super User (Alumni)

Re: Select specific columns with JSL name contains code

@ram_asra_gmail_, this link is to post that describes building a ListBox search and selection interface.  While some of the discussion uses the JMP Class object which is avaialable in JMP14, the first post descrbes teh interface using functions: it works on JMP 13.

 

See  https://community.jmp.com/t5/Discussions/Can-a-scripted-quot-widget-quot-be-converted-to-a-Class/m-...

The files attached to the original post ( TEB_LB_Widget.JSL,  TestTEBSelector.jsl,   TestLBFilter.jsl) are explained in the post with screen shots. 

Recommended Articles