<?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 can I interact with the table in data table box()? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-can-I-interact-with-the-table-in-data-table-box/m-p/895826#M105643</link>
    <description>&lt;P&gt;1. You can use Set Width to force width of the table. You might have to do some calculations to get it exactly what you wish it to be.&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("Example",
	Button Box("Show Table",
		Try(x &amp;lt;&amp;lt; delete);
		temp &amp;lt;&amp;lt; append(x = Data Grid Box());
		x &amp;lt;&amp;lt; Set Data Table(dt);
		x &amp;lt;&amp;lt; Close Side Panels(1);
		x &amp;lt;&amp;lt; Set Width(420);
	),
	temp = V List Box()
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;2. You can keep it from getting smaller for example by preventing V List Box from auto-stretching (there are also other possibly better options)&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("Example",
	Button Box("Show Table",
		Try(x &amp;lt;&amp;lt; delete);
		temp &amp;lt;&amp;lt; append(x = Data Grid Box());
		x &amp;lt;&amp;lt; Set Data Table(dt);
		x &amp;lt;&amp;lt; Close Side Panels(1);
	),
	temp = V List Box()
);

temp &amp;lt;&amp;lt; Set Auto Stretching({0, 0});

&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 21 Aug 2025 07:27:10 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2025-08-21T07:27:10Z</dc:date>
    <item>
      <title>How can I interact with the table in data table box()?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-I-interact-with-the-table-in-data-table-box/m-p/895494#M105623</link>
      <description>&lt;DIV data-container=""&gt;&lt;SPAN data-expression=""&gt;How can I interact with the table in data table box()? For example, when I want to select a specific cell, the table displayed by data table box() cannot be selected. How should I modify it so that I can select a cell within the table shown by data table box()?&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV data-container=""&gt;&lt;SPAN data-expression=""&gt; In the JSL script below, is it possible to manually select the cell where KAITE's Age is 12? Like the selection shown in the image below.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV data-container=""&gt;&lt;SPAN data-expression=""&gt;The purpose of doing this is to allow users to select the desired cell, so that the cell value can be modified later.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV data-container=""&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
New Window( "Example", Data Table Box( dt ) );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;SPAN data-expression=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="111.png" style="width: 346px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/80731iEBCEC84953F0BC4B/image-size/large?v=v2&amp;amp;px=999" role="button" title="111.png" alt="111.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV data-container=""&gt;
&lt;DIV id="l3-9_1-ConGood" class="OSInline" data-container=""&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 20 Aug 2025 11:20:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-I-interact-with-the-table-in-data-table-box/m-p/895494#M105623</guid>
      <dc:creator>BabyDoragon</dc:creator>
      <dc:date>2025-08-20T11:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: How can I interact with the table in data table box()?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-I-interact-with-the-table-in-data-table-box/m-p/895505#M105624</link>
      <description>&lt;P&gt;Data Table Box is in reality Table Box with Data Table Col Boxes, so I think you might be limited to row selections. You could try using Data Grid Box()&lt;/P&gt;</description>
      <pubDate>Wed, 20 Aug 2025 11:27:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-I-interact-with-the-table-in-data-table-box/m-p/895505#M105624</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-08-20T11:27:03Z</dc:date>
    </item>
    <item>
      <title>Re: How can I interact with the table in data table box()?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-I-interact-with-the-table-in-data-table-box/m-p/895508#M105625</link>
      <description>&lt;DIV data-container=""&gt;&lt;SPAN data-expression=""&gt;When using Data Grid Box(), is it possible to automatically close the left panel upon display? As shown in the image below.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV data-container=""&gt;&lt;SPAN data-expression=""&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="111.png" style="width: 365px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/80734iFD168175AA466A29/image-size/large?v=v2&amp;amp;px=999" role="button" title="111.png" alt="111.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 20 Aug 2025 11:37:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-I-interact-with-the-table-in-data-table-box/m-p/895508#M105625</guid>
      <dc:creator>BabyDoragon</dc:creator>
      <dc:date>2025-08-20T11:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: How can I interact with the table in data table box()?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-I-interact-with-the-table-in-data-table-box/m-p/895512#M105626</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/59007"&gt;@BabyDoragon&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can close the side panels of the data grid box or data table with &amp;lt;&amp;lt; close side panels&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$SAMPLE_DATA/Tablet Measurements.jmp" );
new window( "data grid box",
	dgb = data grid box()
);
dgb &amp;lt;&amp;lt; set data table( dt );
dgb &amp;lt;&amp;lt; close side panels;
dt &amp;lt;&amp;lt; close side panels;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Aug 2025 12:05:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-I-interact-with-the-table-in-data-table-box/m-p/895512#M105626</guid>
      <dc:creator>scott_allen</dc:creator>
      <dc:date>2025-08-20T12:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: How can I interact with the table in data table box()?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-I-interact-with-the-table-in-data-table-box/m-p/895585#M105631</link>
      <description>&lt;P&gt;If you wish to minimize it as much as possible, you will have to:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Close side panels&lt;/LI&gt;
&lt;LI&gt;Close summary graphs&lt;/LI&gt;
&lt;LI&gt;Minimize Row ID Width&lt;/LI&gt;
&lt;/UL&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

dt = Open("$SAMPLE_DATA/Tablet Measurements.jmp");

nbw = New Window("data grid box", dgb = Data Grid Box());

dgb &amp;lt;&amp;lt; Set Data Table(dt);
dgb &amp;lt;&amp;lt; Close Side Panels(1);
dgb &amp;lt;&amp;lt; Close summary panels(1);
dgb &amp;lt;&amp;lt; Set Row ID Width(15);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I'm not sure if you can make it smaller than 15. You can look for Data Browser Box from Scripting Index to see what can be done.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also depending what you are doing, one option could be to build your own table box with editable cells.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Aug 2025 17:10:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-I-interact-with-the-table-in-data-table-box/m-p/895585#M105631</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-08-20T17:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: How can I interact with the table in data table box()?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-I-interact-with-the-table-in-data-table-box/m-p/895804#M105641</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Based on the following JSL, I have two questions. &lt;BR /&gt;(1) Regarding the red marked area in the figure below, is there a way to remove it? I want to display a table that fits just right. The blank margin area around it has no meaningful purpose.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="111.png" style="width: 507px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/80804i6A911A1C4E31BF0E/image-size/large?v=v2&amp;amp;px=999" role="button" title="111.png" alt="111.png" /&gt;&lt;/span&gt; &lt;BR /&gt;(2) After pressing "Show Table" in the JSL multiple times, the displayed table area becomes smaller and smaller. How can I keep it fixed at the original size?&lt;BR /&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" );
New Window( "Example",
	button box(
		"Show Table",
		Try( x &amp;lt;&amp;lt; delete );
		temp &amp;lt;&amp;lt; append( x = Data Grid Box() );
		x &amp;lt;&amp;lt; Set Data Table( dt );
		x &amp;lt;&amp;lt; Close Side Panels(1);
	),
	temp = V List Box()
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Aug 2025 06:53:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-I-interact-with-the-table-in-data-table-box/m-p/895804#M105641</guid>
      <dc:creator>BabyDoragon</dc:creator>
      <dc:date>2025-08-21T06:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: How can I interact with the table in data table box()?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-I-interact-with-the-table-in-data-table-box/m-p/895826#M105643</link>
      <description>&lt;P&gt;1. You can use Set Width to force width of the table. You might have to do some calculations to get it exactly what you wish it to be.&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("Example",
	Button Box("Show Table",
		Try(x &amp;lt;&amp;lt; delete);
		temp &amp;lt;&amp;lt; append(x = Data Grid Box());
		x &amp;lt;&amp;lt; Set Data Table(dt);
		x &amp;lt;&amp;lt; Close Side Panels(1);
		x &amp;lt;&amp;lt; Set Width(420);
	),
	temp = V List Box()
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;2. You can keep it from getting smaller for example by preventing V List Box from auto-stretching (there are also other possibly better options)&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("Example",
	Button Box("Show Table",
		Try(x &amp;lt;&amp;lt; delete);
		temp &amp;lt;&amp;lt; append(x = Data Grid Box());
		x &amp;lt;&amp;lt; Set Data Table(dt);
		x &amp;lt;&amp;lt; Close Side Panels(1);
	),
	temp = V List Box()
);

temp &amp;lt;&amp;lt; Set Auto Stretching({0, 0});

&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 21 Aug 2025 07:27:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-I-interact-with-the-table-in-data-table-box/m-p/895826#M105643</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-08-21T07:27:10Z</dc:date>
    </item>
  </channel>
</rss>

