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=""></GET>
Thanks Experts!
Automation and ScriptingWindows回复: How to use JSL to determine whether a column has event handlers?dt = Current Data Table();
col = Column(dt, "height");
colScript = col << Get Script;
?
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" ) );