<?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 to get the data table with a script Which columns are selected? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-get-the-data-table-with-a-script-Which-columns-are/m-p/554074#M76883</link>
    <description>&lt;P&gt;This is how I would do it&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Current Data Table();
selCols = [];
For( i = 1, i &amp;lt;= N Cols( dt ), i++,
	If( Column( i ) &amp;lt;&amp;lt; get selected,
		selCols = selCols || Matrix( i )
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sat, 08 Oct 2022 07:27:54 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2022-10-08T07:27:54Z</dc:date>
    <item>
      <title>How to get the data table with a script Which columns are selected?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-get-the-data-table-with-a-script-Which-columns-are/m-p/554068#M76881</link>
      <description>&lt;P&gt;Suppose the data table has some columns selected by the whole column, which columns are selected by the script to get the data table?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 08 Oct 2022 06:31:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-get-the-data-table-with-a-script-Which-columns-are/m-p/554068#M76881</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2022-10-08T06:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the data table with a script Which columns are selected?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-get-the-data-table-with-a-script-Which-columns-are/m-p/554069#M76882</link>
      <description>&lt;P&gt;截图&lt;/P&gt;</description>
      <pubDate>Sat, 08 Oct 2022 06:38:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-get-the-data-table-with-a-script-Which-columns-are/m-p/554069#M76882</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2022-10-08T06:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the data table with a script Which columns are selected?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-get-the-data-table-with-a-script-Which-columns-are/m-p/554074#M76883</link>
      <description>&lt;P&gt;This is how I would do it&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Current Data Table();
selCols = [];
For( i = 1, i &amp;lt;= N Cols( dt ), i++,
	If( Column( i ) &amp;lt;&amp;lt; get selected,
		selCols = selCols || Matrix( i )
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 08 Oct 2022 07:27:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-get-the-data-table-with-a-script-Which-columns-are/m-p/554074#M76883</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2022-10-08T07:27:54Z</dc:date>
    </item>
  </channel>
</rss>

