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
lala
Level IX

How to use JSL to determine whether a column has event handlers?

dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
:height << Add Column Properties(
	Set Property(
		"Event Handler",
		Event Handler( Click( JSL Quote(Function( {thisTable, thisColumn, iRow}, {},  ab=(dt<<get selected rows)[1]; );) ) )
	)
);

Thanks Experts!

1 ACCEPTED SOLUTION

Accepted Solutions
mmarchandFSLR
Level VI

Re: How to use JSL to determine whether a column has event handlers?

Names Default to Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
has_handler =  !Is Empty( dt:height << Get Property( "Event Handler" ) );

View solution in original post

2 REPLIES 2
lala
Level IX

回复: How to use JSL to determine whether a column has event handlers?

dt = Current Data Table();
col = Column(dt, "height");

colScript = col << Get Script;

?

mmarchandFSLR
Level VI

Re: How to use JSL to determine whether a column has event handlers?

Names Default to Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
has_handler =  !Is Empty( dt:height << Get Property( "Event Handler" ) );

Recommended Articles