<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How can use JSL to automatically add code to &amp;quot;Event Handler&amp;quot; in &amp;quot;Properties&amp;quot; of a specified column? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-can-use-JSL-to-automatically-add-code-to-quot-Event-Handler/m-p/678122#M86453</link>
    <description>&lt;P&gt;If I want to implement in the "event handler" of this column property that clicking on a cell in the name column automatically opens a web image with the text of that name with JMP Do I want to encode this Function() content?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Assuming that the site is:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;https://community.jmp.com/KATIE.png&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2023-09-15_22-24-18.png" style="width: 751px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/56669i3E84076C9C503C07/image-size/large?v=v2&amp;amp;px=999" role="button" title="2023-09-15_22-24-18.png" alt="2023-09-15_22-24-18.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Sep 2023 14:33:27 GMT</pubDate>
    <dc:creator>lala</dc:creator>
    <dc:date>2023-09-15T14:33:27Z</dc:date>
    <item>
      <title>How can use JSL to automatically add code to "Event Handler" in "Properties" of a specified column?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-use-JSL-to-automatically-add-code-to-quot-Event-Handler/m-p/671657#M85965</link>
      <description>&lt;P&gt;Big Class.jmp&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Function( {thisTable, thisColumn, iRow},
 {},
 n1rows = thisTable &amp;lt;&amp;lt; Get Rows Where( :n1 == thisTable:thisColumn[iRow] );
 n2rows = thisTable &amp;lt;&amp;lt; Get Rows Where( :n2 == thisTable:thisColumn[iRow] );
 thisTable &amp;lt;&amp;lt; Select Columns( {thisColumn, :n1, :n2} ) &amp;lt;&amp;lt; Clear Cell Colors;
 thisColumn &amp;lt;&amp;lt; Color Cells( {3, {iRow}} );
 :n1 &amp;lt;&amp;lt; Color Cells( {3, n1rows} );
 :n2 &amp;lt;&amp;lt; Color Cells( {3, n2rows} );
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2023-08-28_17-42-16.png" style="width: 770px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/56042i8856AEC84E845033/image-size/large?v=v2&amp;amp;px=999" role="button" title="2023-08-28_17-42-16.png" alt="2023-08-28_17-42-16.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 10:02:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-use-JSL-to-automatically-add-code-to-quot-Event-Handler/m-p/671657#M85965</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2023-08-28T10:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: How can use JSL to automatically add code to "Event Handler" in "Properties" of a specified column?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-use-JSL-to-automatically-add-code-to-quot-Event-Handler/m-p/671765#M85974</link>
      <description>&lt;P&gt;Use the &amp;lt;&amp;lt;Add Column Properties message:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;:name &amp;lt;&amp;lt; Add Column Properties(
	Set Property(
		"Event Handler",
		Event Handler(
			Click(JSL Quote(Function( {thisTable, thisColumn, iRow},
 {},
 n1rows = thisTable &amp;lt;&amp;lt; Get Rows Where( :n1 == thisTable:thisColumn[iRow] );
 n2rows = thisTable &amp;lt;&amp;lt; Get Rows Where( :n2 == thisTable:thisColumn[iRow] );
 thisTable &amp;lt;&amp;lt; Select Columns( {thisColumn, :n1, :n2} ) &amp;lt;&amp;lt; Clear Cell Colors;
 thisColumn &amp;lt;&amp;lt; Color Cells( {3, {iRow}} );
 :n1 &amp;lt;&amp;lt; Color Cells( {3, n1rows} );
 :n2 &amp;lt;&amp;lt; Color Cells( {3, n2rows} );
);
)			)
		)
	)
)&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 28 Aug 2023 13:43:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-use-JSL-to-automatically-add-code-to-quot-Event-Handler/m-p/671765#M85974</guid>
      <dc:creator>mmarchandTSI</dc:creator>
      <dc:date>2023-08-28T13:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: How can use JSL to automatically add code to "Event Handler" in "Properties" of a specified column?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-use-JSL-to-automatically-add-code-to-quot-Event-Handler/m-p/678122#M86453</link>
      <description>&lt;P&gt;If I want to implement in the "event handler" of this column property that clicking on a cell in the name column automatically opens a web image with the text of that name with JMP Do I want to encode this Function() content?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Assuming that the site is:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;https://community.jmp.com/KATIE.png&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2023-09-15_22-24-18.png" style="width: 751px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/56669i3E84076C9C503C07/image-size/large?v=v2&amp;amp;px=999" role="button" title="2023-09-15_22-24-18.png" alt="2023-09-15_22-24-18.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Sep 2023 14:33:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-use-JSL-to-automatically-add-code-to-quot-Event-Handler/m-p/678122#M86453</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2023-09-15T14:33:27Z</dc:date>
    </item>
  </channel>
</rss>

