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를 사용하여 해당 이름의 텍스트가 포함된 웹 이미지가 자동으로 열리는 이 열 속성의 "이벤트 핸들러"를 구현하려는 경우 이 Function() 콘텐츠를 인코딩하시겠습니까?
사이트가 다음과 같다고 가정합니다.
https://community.jmp.com/KATIE.png
감사해요!
