<?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: Linked columns and inter-table row selection in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Linked-columns-and-inter-table-row-selection/m-p/703605#M88779</link>
    <description>&lt;P&gt;This is awesome! Thank you so much!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did notice that you can only do one row at a time. Is there a way to do an arbitrary selection of rows?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 28 Nov 2023 16:38:55 GMT</pubDate>
    <dc:creator>ehchandlerjr</dc:creator>
    <dc:date>2023-11-28T16:38:55Z</dc:date>
    <item>
      <title>Linked columns and inter-table row selection</title>
      <link>https://community.jmp.com/t5/Discussions/Linked-columns-and-inter-table-row-selection/m-p/703396#M88770</link>
      <description>&lt;P&gt;Hello - I don't think this exists, but thought I would ask anyway. I have a few different projects where I link columns. I have had a few times where I have thought that it would be super useful to be able to select the row of one of the linked tables, and then the corresponding rows in the other gets highlighted. I have one 50k row table and another 150k row table, and scrolling through can get tedious, as can trying to grab just those points. Of course there are row selection menus, but this takes a long time when you are switching your selection a few dozen times.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to do this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2023 05:17:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Linked-columns-and-inter-table-row-selection/m-p/703396#M88770</guid>
      <dc:creator>ehchandlerjr</dc:creator>
      <dc:date>2023-11-28T05:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: Linked columns and inter-table row selection</title>
      <link>https://community.jmp.com/t5/Discussions/Linked-columns-and-inter-table-row-selection/m-p/703523#M88774</link>
      <description>&lt;P&gt;Event Handler can accomplish what you're describing.&amp;nbsp; Something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mmarchandTSI_0-1701179831673.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/59102i890FC74670884851/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mmarchandTSI_0-1701179831673.png" alt="mmarchandTSI_0-1701179831673.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For readability/copy/paste:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Function( {thisTable, thisColumn, iRow},
{ /* list of local variables, if needed */ },
dt2 &amp;lt;&amp;lt; Select Where(:name == thisTable:thisColumn[iRow] )
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 28 Nov 2023 13:58:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Linked-columns-and-inter-table-row-selection/m-p/703523#M88774</guid>
      <dc:creator>mmarchandTSI</dc:creator>
      <dc:date>2023-11-28T13:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: Linked columns and inter-table row selection</title>
      <link>https://community.jmp.com/t5/Discussions/Linked-columns-and-inter-table-row-selection/m-p/703605#M88779</link>
      <description>&lt;P&gt;This is awesome! Thank you so much!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did notice that you can only do one row at a time. Is there a way to do an arbitrary selection of rows?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2023 16:38:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Linked-columns-and-inter-table-row-selection/m-p/703605#M88779</guid>
      <dc:creator>ehchandlerjr</dc:creator>
      <dc:date>2023-11-28T16:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: Linked columns and inter-table row selection</title>
      <link>https://community.jmp.com/t5/Discussions/Linked-columns-and-inter-table-row-selection/m-p/703625#M88783</link>
      <description>&lt;P&gt;The Event Handler Column Property performs an action when you click on a row in the column, so this solution would be for only very simple selections, one at a time.&amp;nbsp; Are you thinking you'd like to select corresponding rows in the linked table every time you select a row or group of rows in the main table?&amp;nbsp; If so, I'd consider adding a simple table script.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;sel = :name[Current Data Table() &amp;lt;&amp;lt; Get Selected Rows];
dt &amp;lt;&amp;lt; Select Where( Contains( sel, :name ) );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;If you save that as a table script, you can select the rows you want and then just click the green triangle.&amp;nbsp; Sure beats scrolling through 100,000 rows!&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2023 17:43:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Linked-columns-and-inter-table-row-selection/m-p/703625#M88783</guid>
      <dc:creator>mmarchandTSI</dc:creator>
      <dc:date>2023-11-28T17:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: Linked columns and inter-table row selection</title>
      <link>https://community.jmp.com/t5/Discussions/Linked-columns-and-inter-table-row-selection/m-p/703678#M88788</link>
      <description>&lt;P&gt;Dang dude - This is awesome. Extremely helpful. If I could give you two kudos, I would.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kinda seems like an obvious and easily implementable feature for linked data tables. At least to have a checkbox to turn the feature on or off, since it might be annoying sometimes. Hmmmm. I might add this to the feature requests.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again! This really helps, and you've introduced me to Event Handler (and that whole bottom section of column properties I never go to). Super useful!&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2023 19:30:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Linked-columns-and-inter-table-row-selection/m-p/703678#M88788</guid>
      <dc:creator>ehchandlerjr</dc:creator>
      <dc:date>2023-11-28T19:30:03Z</dc:date>
    </item>
    <item>
      <title>Re: Linked columns and inter-table row selection</title>
      <link>https://community.jmp.com/t5/Discussions/Linked-columns-and-inter-table-row-selection/m-p/703702#M88791</link>
      <description>&lt;P&gt;That's really cool - thanks for asking - thanks for the nice solution :)&lt;/img&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/9102"&gt;@ehchandlerjr&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Kinda seems like an obvious and easily implementable feature for linked data tables. At least to have a checkbox to turn the feature on or off, since it might be annoying sometimes.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;For &lt;STRONG&gt;linked&lt;/STRONG&gt; data tables, actually, there exists such a one-click checkbox:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;sourceTable:linkID &amp;lt;&amp;lt; Set Property( "Link ID", 1 );

targetTable:linkID &amp;lt;&amp;lt; Set Property(
	"Link Reference",{	Reference Table( sourceTable), Options( Row States Synchronization with Referenced Table( Dispatch( 1 ), Row States( Select ) ))
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6341926954112w852h540r405" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6341926954112" data-account="6058004218001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6058004218001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-6341926954112w852h540r405');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.jmp.com/t5/video/gallerypage/video-id/6341926954112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Dec 2023 16:02:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Linked-columns-and-inter-table-row-selection/m-p/703702#M88791</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2023-12-22T16:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: Linked columns and inter-table row selection</title>
      <link>https://community.jmp.com/t5/Discussions/Linked-columns-and-inter-table-row-selection/m-p/703703#M88792</link>
      <description>&lt;P&gt;Good information,&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/26800"&gt;@hogi&lt;/a&gt;.&amp;nbsp; I never use actual linked tables, so I hadn't thought about digging into the options there.&amp;nbsp; Good to know!&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2023 21:34:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Linked-columns-and-inter-table-row-selection/m-p/703703#M88792</guid>
      <dc:creator>mmarchandTSI</dc:creator>
      <dc:date>2023-11-28T21:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: Linked columns and inter-table row selection</title>
      <link>https://community.jmp.com/t5/Discussions/Linked-columns-and-inter-table-row-selection/m-p/703771#M88796</link>
      <description>&lt;P&gt;Wow. I had originally mosied over to the column properties for the Link column and didn't see it, but I'm confused why I never thought to look over at the link reference. Thanks for showing that! This thread now has three completely distinct answers.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2023 02:42:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Linked-columns-and-inter-table-row-selection/m-p/703771#M88796</guid>
      <dc:creator>ehchandlerjr</dc:creator>
      <dc:date>2023-11-29T02:42:42Z</dc:date>
    </item>
  </channel>
</rss>

