<?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 Copy Columns - selected rows in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Copy-Columns-selected-rows/m-p/713479#M89688</link>
    <description>&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Copy Columns&lt;/FONT&gt; from the right-click context menu of a column header is very useful. Just copy the column(s)&amp;nbsp; - with all the settings ... and paste it into a JSL script - or another table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is a hidden feature:&lt;BR /&gt;When rows are selected, the values of the selected rows are used as arguments of the &lt;FONT face="courier new,courier"&gt;Set Values()&lt;/FONT&gt; command and will populate the cells of the new column.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, when you select &lt;FONT face="courier new,courier"&gt;all rows&lt;/FONT&gt; before copying a column it's a very convenient way to&amp;nbsp;&lt;LI-MESSAGE title="clone a column" uid="15644" url="https://community.jmp.com/t5/Discussions/clone-a-column/m-p/15644#U15644" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On the other hand, if only a few rows are selected, the functionality leads to surprising results:&lt;/P&gt;&lt;P&gt;The first N rows of the new column get populated with the N selected values (!).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For formula columns, the command doesn't have an effect.&lt;/P&gt;&lt;P&gt;So, after copying a column and pasting it into a JSL script, generally my next task is: delete the &lt;FONT face="courier new,courier"&gt;Set Values(...)&lt;/FONT&gt;[together with the &lt;FONT face="courier new,courier"&gt;Set Selected&lt;/FONT&gt;&amp;nbsp;]. Or better: undo the first "paste" - deselect the rows - copy the column again and paste it without the&amp;nbsp;&lt;FONT face="courier new,courier"&gt;Set Values()&amp;nbsp; &lt;/FONT&gt;command.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On the third hand, I guess there is a cool use case for this functionality - but I have not found it yet ...&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&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-6344227470112w908h540r594" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6344227470112" 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-6344227470112w908h540r594');  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/6344227470112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 04 Jan 2024 15:04:21 GMT</pubDate>
    <dc:creator>hogi</dc:creator>
    <dc:date>2024-01-04T15:04:21Z</dc:date>
    <item>
      <title>Copy Columns - selected rows</title>
      <link>https://community.jmp.com/t5/Discussions/Copy-Columns-selected-rows/m-p/713479#M89688</link>
      <description>&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Copy Columns&lt;/FONT&gt; from the right-click context menu of a column header is very useful. Just copy the column(s)&amp;nbsp; - with all the settings ... and paste it into a JSL script - or another table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is a hidden feature:&lt;BR /&gt;When rows are selected, the values of the selected rows are used as arguments of the &lt;FONT face="courier new,courier"&gt;Set Values()&lt;/FONT&gt; command and will populate the cells of the new column.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, when you select &lt;FONT face="courier new,courier"&gt;all rows&lt;/FONT&gt; before copying a column it's a very convenient way to&amp;nbsp;&lt;LI-MESSAGE title="clone a column" uid="15644" url="https://community.jmp.com/t5/Discussions/clone-a-column/m-p/15644#U15644" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On the other hand, if only a few rows are selected, the functionality leads to surprising results:&lt;/P&gt;&lt;P&gt;The first N rows of the new column get populated with the N selected values (!).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For formula columns, the command doesn't have an effect.&lt;/P&gt;&lt;P&gt;So, after copying a column and pasting it into a JSL script, generally my next task is: delete the &lt;FONT face="courier new,courier"&gt;Set Values(...)&lt;/FONT&gt;[together with the &lt;FONT face="courier new,courier"&gt;Set Selected&lt;/FONT&gt;&amp;nbsp;]. Or better: undo the first "paste" - deselect the rows - copy the column again and paste it without the&amp;nbsp;&lt;FONT face="courier new,courier"&gt;Set Values()&amp;nbsp; &lt;/FONT&gt;command.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On the third hand, I guess there is a cool use case for this functionality - but I have not found it yet ...&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&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-6344227470112w908h540r636" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6344227470112" 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-6344227470112w908h540r636');  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/6344227470112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2024 15:04:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Copy-Columns-selected-rows/m-p/713479#M89688</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2024-01-04T15:04:21Z</dc:date>
    </item>
  </channel>
</rss>

