<?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: Use ComboBox on TableBox in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Use-ComboBox-on-TableBox/m-p/59897#M32752</link>
    <description>&lt;P&gt;Col boxes will do what you need:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;new window("Combo Boxes in Tablebox",
	tb = Table Box(
		c1 = Col Box( "Bla Bla", 
			cb1 = combo box({"Yes","No"}),
			cb2 = combo box({"Yes","No"}),
			cb3 = combo box({"Yes","No"}),
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TblComboBox.png" style="width: 132px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/11053iBCF5D45BD05FB307/image-size/large?v=v2&amp;amp;px=999" role="button" title="TblComboBox.png" alt="TblComboBox.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 11 Jun 2018 11:38:42 GMT</pubDate>
    <dc:creator>pmroz</dc:creator>
    <dc:date>2018-06-11T11:38:42Z</dc:date>
    <item>
      <title>Use ComboBox on TableBox</title>
      <link>https://community.jmp.com/t5/Discussions/Use-ComboBox-on-TableBox/m-p/59890#M32747</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to make a tablebox that one of it column eatch cell can have a value of "Yes" or "No"&lt;/P&gt;&lt;P&gt;thought&amp;nbsp;of using a combobox for it&lt;/P&gt;&lt;P&gt;try using the following code with no &lt;SPAN&gt;success&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;new window("Bla Bla",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;tb = Table Box(&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; c1 = String Col Box( "Bla Bla", {cb = combo box({"Yes","No"}) &amp;lt;&amp;lt; get selected})&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;)&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any idea&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jun 2018 07:20:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Use-ComboBox-on-TableBox/m-p/59890#M32747</guid>
      <dc:creator>cerdmh</dc:creator>
      <dc:date>2018-06-11T07:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: Use ComboBox on TableBox</title>
      <link>https://community.jmp.com/t5/Discussions/Use-ComboBox-on-TableBox/m-p/59897#M32752</link>
      <description>&lt;P&gt;Col boxes will do what you need:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;new window("Combo Boxes in Tablebox",
	tb = Table Box(
		c1 = Col Box( "Bla Bla", 
			cb1 = combo box({"Yes","No"}),
			cb2 = combo box({"Yes","No"}),
			cb3 = combo box({"Yes","No"}),
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TblComboBox.png" style="width: 132px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/11053iBCF5D45BD05FB307/image-size/large?v=v2&amp;amp;px=999" role="button" title="TblComboBox.png" alt="TblComboBox.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jun 2018 11:38:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Use-ComboBox-on-TableBox/m-p/59897#M32752</guid>
      <dc:creator>pmroz</dc:creator>
      <dc:date>2018-06-11T11:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: Use ComboBox on TableBox</title>
      <link>https://community.jmp.com/t5/Discussions/Use-ComboBox-on-TableBox/m-p/59899#M32753</link>
      <description>&lt;P&gt;&lt;STRIKE&gt;I am not aware of being able to use a Combo Box() in a Table Box(), however,&lt;/STRIKE&gt; you can use a Check Box() to accomplish the same type of functionallity, as your Yes/No, but just by Check Box() selections&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="checkbox.PNG" style="width: 90px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/11054i361C66306B93B829/image-dimensions/90x210?v=v2" width="90" height="210" role="button" title="checkbox.PNG" alt="checkbox.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" );

// Create a list of blank labels for the checkboxes
labelList = {};
For( i = 1, i &amp;lt;= N Rows( dt ), i++,
	Insert Into( labelList, "" )
);

// Create a display with a table box()
New Window( "Select Names",
	tb = Table Box(
		// Add the list boxes to the data table
		cb = Check Box(
			labelList,
			For( i = 1, i &amp;lt;= N Rows( dt ), i++,
				If( cb &amp;lt;&amp;lt; get( i ) == 1,
					Print( dt:Name[i] )
				)
			)
		),
		// Add the names from the data table
		scb = String Col Box( "Name", dt:Name &amp;lt;&amp;lt; get values )
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jun 2018 12:01:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Use-ComboBox-on-TableBox/m-p/59899#M32753</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2018-06-11T12:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: Use ComboBox on TableBox</title>
      <link>https://community.jmp.com/t5/Discussions/Use-ComboBox-on-TableBox/m-p/59901#M32755</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;A href="https://community.jmp.com/t5/user/viewprofilepage/user-id/4550" target="_blank"&gt;pmroz&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Exactly what I needed&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jun 2018 12:29:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Use-ComboBox-on-TableBox/m-p/59901#M32755</guid>
      <dc:creator>cerdmh</dc:creator>
      <dc:date>2018-06-11T12:29:51Z</dc:date>
    </item>
    <item>
      <title>Re: Use ComboBox on TableBox</title>
      <link>https://community.jmp.com/t5/Discussions/Use-ComboBox-on-TableBox/m-p/59902#M32756</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;pmroz&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Exactly what I needed&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jun 2018 12:31:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Use-ComboBox-on-TableBox/m-p/59902#M32756</guid>
      <dc:creator>cerdmh</dc:creator>
      <dc:date>2018-06-11T12:31:39Z</dc:date>
    </item>
  </channel>
</rss>

