能否使用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自動將代碼添加到指定列的“屬性”中的“事件處理程序”中?如果我想在此列屬性的“事件處理程序”中實現,單擊名稱列中的單元格會自動使用 JMP 打開包含該名稱文本的 Web 圖像 我是否要對此 Function() 內容進行編碼?
假設該網站是:
https://community.jmp.com/KATIE.png
謝謝!
