<?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 make Col List Box Report only specific data type in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-make-Col-List-Box-Report-only-specific-data-type/m-p/281666#M54519</link>
    <description>&lt;P&gt;Here is a rework of your code.&amp;nbsp; You had already limited the first Col List Box() to "Character", you just didn't use the correct syntax for the second Col List Box()&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="collistbox.PNG" style="width: 566px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/25693iA1499BC7C6897058/image-dimensions/566x142?v=v2" width="566" height="142" role="button" title="collistbox.PNG" alt="collistbox.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;names default to here(1);
dt=open("$SAMPLE_DATA\big class.jmp");

nw = new window("Select Parameter for Pareto",
borderbox(left(3),top (2),
		hlist box(
			textBox("Select Group for Yield Analaysis"),
			hlistbox(
				vlistbox(
						panelbox("Select group",
						ColListData = collistbox( all, &amp;lt;&amp;lt; set Data Type( "character" ));
						)
				)
			),
			panelbox("Select Parameters",
				LineupBox(NCol(2),Spacing(3),
                        ButtonBox("Y, Columns", colListY&amp;lt;&amp;lt;Append(colListData&amp;lt;&amp;lt;GetSelected)),
                        colListY = ColListBox(all,nLines(5), &amp;lt;&amp;lt; set Data Type( "character" )),
			),
		 
			),
			panelbox("Action",
				button box("OK",
					list = eval(colListY&amp;lt;&amp;lt;getitems);
					nw &amp;lt;&amp;lt; close window;
				),
				button box("Cancel",nw&amp;lt;&amp;lt;close window),
				button box ("Remove",
					 colListY&amp;lt;&amp;lt;removeselected;
				)
			)
		

))
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 24 Jul 2020 01:21:51 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2020-07-24T01:21:51Z</dc:date>
    <item>
      <title>How to make Col List Box Report only specific data type</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-make-Col-List-Box-Report-only-specific-data-type/m-p/281634#M54514</link>
      <description>&lt;P&gt;try to make a column list box so the user can select parameters for analysis.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Want to limit to column with data type "character" in this col list box.&amp;nbsp; Use the script below but it report all columns.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;nw = new window("Select Parameter for Pareto",
borderbox(left(3),top (2),
		hlist box(
			textBox("Select Group for Yield Analaysis"),
			hlistbox(
				vlistbox(
						panelbox("Select group",
						ColListData = collistbox( all, &amp;lt;&amp;lt; set Data Type( "character" ));
						)
				)
			),
			panelbox("Select Parameters",
				LineupBox(NCol(2),Spacing(3),
                        ButtonBox("Y, Columns", colListY&amp;lt;&amp;lt;Append(colListData&amp;lt;&amp;lt;GetSelected)),
                        colListY = ColListBox(nLines(5),"character"),
			),
		 
			),
			panelbox("Action",
				button box("OK",
					list = eval(colListY&amp;lt;&amp;lt;getitems);
					nw &amp;lt;&amp;lt; close window;
				),
				button box("Cancel",nw&amp;lt;&amp;lt;close window),
				button box ("Remove",
					 colListY&amp;lt;&amp;lt;removeselected;
				)
			)
		

))
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 09 Jun 2023 23:33:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-make-Col-List-Box-Report-only-specific-data-type/m-p/281634#M54514</guid>
      <dc:creator>yanee</dc:creator>
      <dc:date>2023-06-09T23:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to make Col List Box Report only specific data type</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-make-Col-List-Box-Report-only-specific-data-type/m-p/281639#M54515</link>
      <description>&lt;P&gt;Here are the options available to Col List Box, taken from the Scripting Inded&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Help==&amp;gt;Scripting index&lt;/P&gt;
&lt;P&gt;It has options for&amp;nbsp; setting the data type and the modeling type&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="collist.PNG" style="width: 641px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/25690i5D5C0F782BA9FC2B/image-size/large?v=v2&amp;amp;px=999" role="button" title="collist.PNG" alt="collist.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jul 2020 22:30:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-make-Col-List-Box-Report-only-specific-data-type/m-p/281639#M54515</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2020-07-23T22:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to make Col List Box Report only specific data type</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-make-Col-List-Box-Report-only-specific-data-type/m-p/281656#M54517</link>
      <description>&lt;P&gt;try that but it still show all columns.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2020 00:59:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-make-Col-List-Box-Report-only-specific-data-type/m-p/281656#M54517</guid>
      <dc:creator>yanee</dc:creator>
      <dc:date>2020-07-24T00:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to make Col List Box Report only specific data type</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-make-Col-List-Box-Report-only-specific-data-type/m-p/281666#M54519</link>
      <description>&lt;P&gt;Here is a rework of your code.&amp;nbsp; You had already limited the first Col List Box() to "Character", you just didn't use the correct syntax for the second Col List Box()&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="collistbox.PNG" style="width: 566px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/25693iA1499BC7C6897058/image-dimensions/566x142?v=v2" width="566" height="142" role="button" title="collistbox.PNG" alt="collistbox.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;names default to here(1);
dt=open("$SAMPLE_DATA\big class.jmp");

nw = new window("Select Parameter for Pareto",
borderbox(left(3),top (2),
		hlist box(
			textBox("Select Group for Yield Analaysis"),
			hlistbox(
				vlistbox(
						panelbox("Select group",
						ColListData = collistbox( all, &amp;lt;&amp;lt; set Data Type( "character" ));
						)
				)
			),
			panelbox("Select Parameters",
				LineupBox(NCol(2),Spacing(3),
                        ButtonBox("Y, Columns", colListY&amp;lt;&amp;lt;Append(colListData&amp;lt;&amp;lt;GetSelected)),
                        colListY = ColListBox(all,nLines(5), &amp;lt;&amp;lt; set Data Type( "character" )),
			),
		 
			),
			panelbox("Action",
				button box("OK",
					list = eval(colListY&amp;lt;&amp;lt;getitems);
					nw &amp;lt;&amp;lt; close window;
				),
				button box("Cancel",nw&amp;lt;&amp;lt;close window),
				button box ("Remove",
					 colListY&amp;lt;&amp;lt;removeselected;
				)
			)
		

))
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 24 Jul 2020 01:21:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-make-Col-List-Box-Report-only-specific-data-type/m-p/281666#M54519</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2020-07-24T01:21:51Z</dc:date>
    </item>
  </channel>
</rss>

