<?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 re-size a report table in JSL? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-re-size-a-report-table-in-JSL/m-p/108357#M39433</link>
    <description>&lt;P&gt;A report Table Box cannot be directly resized (you can resize columns, see this &lt;A href="https://community.jmp.com/t5/Discussions/ListBox-size/m-p/34764" target="_self"&gt;post&lt;/A&gt;), though you probably just need to turn off the scrollbars so that the tablebox is as big as the content.&amp;nbsp; I'll illustrate here:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
jmp_report = New Window( "Big Class",
	Text Box( "Big Class" ),
	H List Box( Outline Box( "Big Class", tbl = dt &amp;lt;&amp;lt; Get As Report ) ),
);

tbl[table box(1)] &amp;lt;&amp;lt; Set Scrollable(0,0);&lt;/CODE&gt;&amp;nbsp;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 30 Jan 2019 17:42:57 GMT</pubDate>
    <dc:creator>cwillden</dc:creator>
    <dc:date>2019-01-30T17:42:57Z</dc:date>
    <item>
      <title>How to re-size a report table in JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-re-size-a-report-table-in-JSL/m-p/108351#M39428</link>
      <description>&lt;P&gt;For example, I have made a report from a table as shown below:&lt;/P&gt;&lt;P&gt;op1 = tbl1 &amp;lt;&amp;lt; Get As Report;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the default display for the report table is too small (yes, I can use the scroll bars to move around). Is there any way in JSL so that I can re-size or maximize the display window for the report? I tried the followings, but none works :-(.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;&amp;lt;Set Window Size&amp;nbsp;&lt;BR /&gt;&amp;lt;&amp;lt;Maximize Window&lt;/P&gt;&lt;P&gt;&amp;lt;&amp;lt;Maximize Display&lt;/P&gt;&lt;P&gt;&amp;lt;&amp;lt;Get Max Size&lt;/P&gt;&lt;P&gt;&amp;lt;&amp;lt;Set Max Size.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any hint?&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;John&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2019 16:58:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-re-size-a-report-table-in-JSL/m-p/108351#M39428</guid>
      <dc:creator>zxu11</dc:creator>
      <dc:date>2019-01-30T16:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to re-size a report table in JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-re-size-a-report-table-in-JSL/m-p/108357#M39433</link>
      <description>&lt;P&gt;A report Table Box cannot be directly resized (you can resize columns, see this &lt;A href="https://community.jmp.com/t5/Discussions/ListBox-size/m-p/34764" target="_self"&gt;post&lt;/A&gt;), though you probably just need to turn off the scrollbars so that the tablebox is as big as the content.&amp;nbsp; I'll illustrate here:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
jmp_report = New Window( "Big Class",
	Text Box( "Big Class" ),
	H List Box( Outline Box( "Big Class", tbl = dt &amp;lt;&amp;lt; Get As Report ) ),
);

tbl[table box(1)] &amp;lt;&amp;lt; Set Scrollable(0,0);&lt;/CODE&gt;&amp;nbsp;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2019 17:42:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-re-size-a-report-table-in-JSL/m-p/108357#M39433</guid>
      <dc:creator>cwillden</dc:creator>
      <dc:date>2019-01-30T17:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to re-size a report table in JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-re-size-a-report-table-in-JSL/m-p/108776#M39537</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;yes, it is helpful to turn off the scrollbars. But my data table is too long (column sizes are fine), so I still like to keep the scrollbars, while just to re-size the report fram size to "longer". I can do it manully on the report display by just drag the bottom corner and enlarge the report data size. It should be a way in JSL to do it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;John&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 03 Feb 2019 19:29:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-re-size-a-report-table-in-JSL/m-p/108776#M39537</guid>
      <dc:creator>zxu11</dc:creator>
      <dc:date>2019-02-03T19:29:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to re-size a report table in JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-re-size-a-report-table-in-JSL/m-p/108791#M39538</link>
      <description>&lt;P&gt;Are you just trying to set the window size like the below example?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dixt.PNG" style="width: 895px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/15394i341AB107C4A744CD/image-size/large?v=v2&amp;amp;px=999" role="button" title="dixt.PNG" alt="dixt.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/Quality Control/Shirts.jmp" );
obj = Distribution( Column( :Name( "# Defects" ) ) );
obj &amp;lt;&amp;lt; Fit Distribution(
	BetaBinomial( Sample Size( 10 ) )
);

report(obj)&amp;lt;&amp;lt; set window size(900,900);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 04 Feb 2019 02:49:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-re-size-a-report-table-in-JSL/m-p/108791#M39538</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2019-02-04T02:49:18Z</dc:date>
    </item>
  </channel>
</rss>

