能否使用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
谢谢!
