<?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: JSL Partition get selected rows in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/JSL-Partition-get-selected-rows/m-p/441645#M68992</link>
    <description>Thanks a lot, it worked.</description>
    <pubDate>Thu, 02 Dec 2021 11:19:10 GMT</pubDate>
    <dc:creator>shasha_2</dc:creator>
    <dc:date>2021-12-02T11:19:10Z</dc:date>
    <item>
      <title>JSL Partition get selected rows</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-Partition-get-selected-rows/m-p/441532#M68975</link>
      <description>&lt;P&gt;I am using the JMP Partition() function in my JSL script for the decision tree, I wanted to know how to get the selected rows once the user selects the segment for which rows are selected. I tried using the Get Selected Row but it's not able to understand the table. Does anyone has any idea how to code it?&lt;/P&gt;</description>
      <pubDate>Sun, 11 Jun 2023 11:20:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-Partition-get-selected-rows/m-p/441532#M68975</guid>
      <dc:creator>shasha_2</dc:creator>
      <dc:date>2023-06-11T11:20:05Z</dc:date>
    </item>
    <item>
      <title>Re: JSL Partition get selected rows</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-Partition-get-selected-rows/m-p/441589#M68982</link>
      <description>&lt;P&gt;if you select certain columns in the partition tree,&lt;/P&gt;
&lt;P&gt;than you will see the selection in your table,&lt;/P&gt;
&lt;P&gt;and can get the rows by the command "get selected rows()", see also scripting index for examples:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;r = dt &amp;lt;&amp;lt; Get Selected Rows();&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;However I do not know how you would like to control the interaction with the user selecting rows in the decision tree. A simplified example of your code would be very helpful.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2021 08:49:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-Partition-get-selected-rows/m-p/441589#M68982</guid>
      <dc:creator>Georg</dc:creator>
      <dc:date>2021-12-02T08:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: JSL Partition get selected rows</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-Partition-get-selected-rows/m-p/441599#M68984</link>
      <description>&lt;P&gt;You can use&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;&amp;lt;&amp;lt; Make Row State Handler()&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;to trigger when new rows are selected from the Partition() platform&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = 
// Open Data Table: semiconductor capability.jmp
// → Data Table( "semiconductor capability" )
Open( "$SAMPLE_DATA/semiconductor capability.jmp" );

f = Function( {a},
	theRows = Current Data Table() &amp;lt;&amp;lt; get selected rows;
	Show( theRows );
);

rs = Current Data Table() &amp;lt;&amp;lt; make row state handler( f );

dt &amp;lt;&amp;lt; Partition(
	Y( :NPN1 ),
	X(
		:PNP1, :PNP2, :NPN2, :PNP3, :IVP1, :PNP4, :NPN3, :IVP2, :NPN4, :SIT1, :INM1, :INM2,
		:VPM1, :VPM2
	)
);
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 02 Dec 2021 09:27:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-Partition-get-selected-rows/m-p/441599#M68984</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2021-12-02T09:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: JSL Partition get selected rows</title>
      <link>https://community.jmp.com/t5/Discussions/JSL-Partition-get-selected-rows/m-p/441645#M68992</link>
      <description>Thanks a lot, it worked.</description>
      <pubDate>Thu, 02 Dec 2021 11:19:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/JSL-Partition-get-selected-rows/m-p/441645#M68992</guid>
      <dc:creator>shasha_2</dc:creator>
      <dc:date>2021-12-02T11:19:10Z</dc:date>
    </item>
  </channel>
</rss>

