<?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: Sizing Data Table in Display Box in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Sizing-Data-Table-in-Display-Box/m-p/49736#M28302</link>
    <description>&lt;P&gt;cwilden - Thanks for the response and the suggestion.&amp;nbsp; I tried it out and your method requires that the source data table to&amp;nbsp;be open or it closes the entire window.&amp;nbsp; My intent was to write the display boxes for all objects to the window and close the objects.&amp;nbsp; I also noticed that it's relatively unformatted and displays the working data table framework.&amp;nbsp; Not as elegant, but not a total deal breaker.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm continuing to test this and it appears&amp;nbsp;that&amp;nbsp;with fewer columns, eventually the data table will&amp;nbsp;display in full and the display box will auto-size as it gets smaller.&amp;nbsp; It's as if there's a maximum width somewhere out there associated with reporting out a data table&amp;nbsp;where if your table exceeds this value, it reverts to a scroll box.&lt;/P&gt;</description>
    <pubDate>Tue, 16 Jan 2018 22:58:52 GMT</pubDate>
    <dc:creator>CS13</dc:creator>
    <dc:date>2018-01-16T22:58:52Z</dc:date>
    <item>
      <title>Sizing Data Table in Display Box</title>
      <link>https://community.jmp.com/t5/Discussions/Sizing-Data-Table-in-Display-Box/m-p/49725#M28293</link>
      <description>&lt;P&gt;I have searched ad nauseum and cannot not find a solution to my problem.&amp;nbsp; I'm trying to set up a window&amp;nbsp;for my users that dynamically updates some&amp;nbsp;summary data and two plots based on their selection.&amp;nbsp; I'm working with display boxes, but when I append my summary data table, no matter what I've tried, the data table is&amp;nbsp;always&amp;nbsp;smaller in width&amp;nbsp;such that the last column is cut off, leaving me with what amounts to a horizontal scroll box.&amp;nbsp; I cannot seem to figure out how to widen the data table in my script.&amp;nbsp; I've tried a number of different display boxes with ample pixel widths but it is as if there's some hidden default size of the data table that's slightly smaller than the actual size.&amp;nbsp; Nothing external to the data table seems to be limiting its size.&amp;nbsp; Here is an example of the code:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;pb1 = Panel Box ( );&lt;BR /&gt;my_report = summarydt &amp;lt;&amp;lt; Get As Report;&lt;BR /&gt;pb1 &amp;lt;&amp;lt; Append(my_report);&lt;BR /&gt;sb &amp;lt;&amp;lt; Append(pb1);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;nw1=New Window( "New Window",&lt;BR /&gt;&amp;nbsp;H List Box(Text Box("ABC")),&lt;BR /&gt;&amp;nbsp;Lineup Box( N Col( 2 ),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;H List Box( ),&lt;BR /&gt;&amp;nbsp;),&lt;BR /&gt;&amp;nbsp;Lineup Box( N Col( 2 ),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;lb1_v = V List Box(&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;lb1 = List Box(lot_list,&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;width( boxwidth ),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;max selected( maxsel ),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;nlines( boxlines ),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;button_press)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;V List Box(&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;pb = Scroll Box( Size(1200,650) )&lt;BR /&gt;&amp;nbsp;&amp;nbsp;)&lt;BR /&gt;&amp;nbsp;)&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jan 2018 20:19:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Sizing-Data-Table-in-Display-Box/m-p/49725#M28293</guid>
      <dc:creator>CS13</dc:creator>
      <dc:date>2018-01-16T20:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: Sizing Data Table in Display Box</title>
      <link>https://community.jmp.com/t5/Discussions/Sizing-Data-Table-in-Display-Box/m-p/49732#M28299</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/7561"&gt;@CS13&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've never had much luck with &amp;lt;&amp;lt; Set Width for display boxes for some reason.&amp;nbsp; They never seem to respond to that, even though the log doesn't display an errors.&lt;/P&gt;&lt;P&gt;You could try &amp;lt;&amp;lt; New Data Box() instead of &amp;lt;&amp;lt; Get As Report, which seems to be more amenable to auto-stretching.&amp;nbsp; Instead of converting the data table to a display box table, it actually inserts the table as an object right into your report.&amp;nbsp; I tried the following and found the PanelBox will grow as large as your window.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;bigClass = Data Table( "Big Class" );
summarydt = bigClass &amp;lt;&amp;lt; Summary(
	Group( :sex ),
	N( :height ),
	N( :weight ),
	Mean( :height ),
	Mean( :weight ),
	Std Dev( :height ),
	Std Dev( :weight ),
	Min( :height ),
	Min( :weight ),
	Max( :height ),
	Max( :weight ),
	Freq( "None" ),
	Weight( "None" )
);

sb = New Window("Testing");
pb1 = Panel Box("Summary Data Table");
my_report = summarydt &amp;lt;&amp;lt; New Data Box();
//my_report = summarydt &amp;lt;&amp;lt; Get As Report;
pb1 &amp;lt;&amp;lt; Append( my_report );
sb &amp;lt;&amp;lt; Append( pb1 );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I don't know if this is compatible with what you want to do, but thought it might help.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jan 2018 22:29:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Sizing-Data-Table-in-Display-Box/m-p/49732#M28299</guid>
      <dc:creator>cwillden</dc:creator>
      <dc:date>2018-01-16T22:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: Sizing Data Table in Display Box</title>
      <link>https://community.jmp.com/t5/Discussions/Sizing-Data-Table-in-Display-Box/m-p/49736#M28302</link>
      <description>&lt;P&gt;cwilden - Thanks for the response and the suggestion.&amp;nbsp; I tried it out and your method requires that the source data table to&amp;nbsp;be open or it closes the entire window.&amp;nbsp; My intent was to write the display boxes for all objects to the window and close the objects.&amp;nbsp; I also noticed that it's relatively unformatted and displays the working data table framework.&amp;nbsp; Not as elegant, but not a total deal breaker.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm continuing to test this and it appears&amp;nbsp;that&amp;nbsp;with fewer columns, eventually the data table will&amp;nbsp;display in full and the display box will auto-size as it gets smaller.&amp;nbsp; It's as if there's a maximum width somewhere out there associated with reporting out a data table&amp;nbsp;where if your table exceeds this value, it reverts to a scroll box.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jan 2018 22:58:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Sizing-Data-Table-in-Display-Box/m-p/49736#M28302</guid>
      <dc:creator>CS13</dc:creator>
      <dc:date>2018-01-16T22:58:52Z</dc:date>
    </item>
  </channel>
</rss>

