JSLを使用して、指定した列の「プロパティ」の「イベントハンドラー」にコードを自動的に追加できますか?ビッグクラス.jmp
ありがとう!
Function( {thisTable, thisColumn, iRow},
{},
n1rows = thisTable << Get Rows Where( :n1 == thisTable:thisColumn[iRow] );
n2rows = thisTable << Get Rows Where( :n2 == thisTable:thisColumn[iRow] );
thisTable << Select Columns( {thisColumn, :n1, :n2} ) << Clear Cell Colors;
thisColumn << Color Cells( {3, {iRow}} );
:n1 << Color Cells( {3, n1rows} );
:n2 << Color Cells( {3, n2rows} );
);
自動化とスクリプト作成Re: JSL を使用して、指定した列の「プロパティ」の「イベント ハンドラー」にコードを自動的に追加するにはどうすればよいですか?<<列プロパティの追加メッセージを使用します。
:name << Add Column Properties(
Set Property(
"Event Handler",
Event Handler(
Click(JSL Quote(Function( {thisTable, thisColumn, iRow},
{},
n1rows = thisTable << Get Rows Where( :n1 == thisTable:thisColumn[iRow] );
n2rows = thisTable << Get Rows Where( :n2 == thisTable:thisColumn[iRow] );
thisTable << Select Columns( {thisColumn, :n1, :n2} ) << Clear Cell Colors;
thisColumn << Color Cells( {3, {iRow}} );
:n1 << Color Cells( {3, n1rows} );
:n2 << Color Cells( {3, n2rows} );
);
) )
)
)
)Re: JSL を使用して、指定した列の「プロパティ」の「イベント ハンドラー」にコードを自動的に追加するにはどうすればよいですか?この列プロパティの「イベント ハンドラー」で、名前列のセルをクリックすると、その名前のテキストを含む Web イメージが JMP で自動的に開くように実装したい場合、この Function() コンテンツをエンコードしますか?
サイトが次のようなものであると仮定します。
https://community.jmp.com/KATIE.png
ありがとう!
