<?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: Setting data table left panel size in JSL? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Setting-data-table-left-panel-size-in-JSL/m-p/79716#M36797</link>
    <description>&lt;P&gt;In the above code if you use: window &amp;lt;&amp;lt; Get XML or window &amp;lt;&amp;lt; Show Tree Structure you'll figure out it's a splitterbox.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The data table is a unique object in JMP (for good reasons).&amp;nbsp; It's meant to be stand alone in it's own window, b/c of this it doesn't appear support the regular window functions, &amp;lt;&amp;lt;get XML, &amp;lt;&amp;lt;child, &amp;lt;&amp;lt; parent, &amp;lt;&amp;lt; top parent, ect.&amp;nbsp; The Get Window() function is our savior in this case as it allows us to gain access to the window object holding the data table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers!&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 19 Oct 2018 15:15:27 GMT</pubDate>
    <dc:creator>msharp</dc:creator>
    <dc:date>2018-10-19T15:15:27Z</dc:date>
    <item>
      <title>Setting data table left panel size in JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/Setting-data-table-left-panel-size-in-JSL/m-p/79604#M36771</link>
      <description>&lt;P&gt;I have a script which generates a data table and adds new scripts so the user can do additional analysis and data modification.&amp;nbsp;&amp;nbsp;The problem is that the script names are relatively long and get truncated by the size of the left panel when the new table is created.&amp;nbsp;&amp;nbsp;I know I can set the size and position of the table with JSL, but is there a way to set the left panel size?&amp;nbsp; I thought that maybe&amp;nbsp;&lt;FONT color="#0000FF"&gt;H Splitter Box&lt;/FONT&gt;() would be the right answer, but I couldn't get it to work for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically, I get the image on the left, but I want the image on the right:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JMP_LeftPanelExample.PNG" style="width: 694px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/12889iC17AE0E0966FA7E9/image-dimensions/694x303?v=v2" width="694" height="303" role="button" title="JMP_LeftPanelExample.PNG" alt="JMP_LeftPanelExample.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;--Joe&lt;/P&gt;</description>
      <pubDate>Thu, 18 Oct 2018 18:19:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Setting-data-table-left-panel-size-in-JSL/m-p/79604#M36771</guid>
      <dc:creator>Joe_T</dc:creator>
      <dc:date>2018-10-18T18:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: Setting data table left panel size in JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/Setting-data-table-left-panel-size-in-JSL/m-p/79669#M36780</link>
      <description>&lt;P&gt;This was surprisingly possible, but it takes a couple steps.&amp;nbsp; See example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA\Big Class.jmp" );
window = Get Window( dt );
sp = window &amp;lt;&amp;lt; Find(SplitterBox(1));
sp &amp;lt;&amp;lt; Set Width(300);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Oct 2018 23:19:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Setting-data-table-left-panel-size-in-JSL/m-p/79669#M36780</guid>
      <dc:creator>msharp</dc:creator>
      <dc:date>2018-10-18T23:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: Setting data table left panel size in JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/Setting-data-table-left-panel-size-in-JSL/m-p/79712#M36796</link>
      <description>&lt;P&gt;Brilliant!&amp;nbsp; That does exactly what I wanted.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Follow-up question: How would I know or find out that the left panel is SplitterBox(1)?&amp;nbsp; I tried to use "dt &amp;lt;&amp;lt; Get XML" to see the structure of the data table, but it didn't give me anything (presumably the table isn't an XML object).&lt;/P&gt;</description>
      <pubDate>Fri, 19 Oct 2018 14:55:48 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Setting-data-table-left-panel-size-in-JSL/m-p/79712#M36796</guid>
      <dc:creator>Joe_T</dc:creator>
      <dc:date>2018-10-19T14:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: Setting data table left panel size in JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/Setting-data-table-left-panel-size-in-JSL/m-p/79716#M36797</link>
      <description>&lt;P&gt;In the above code if you use: window &amp;lt;&amp;lt; Get XML or window &amp;lt;&amp;lt; Show Tree Structure you'll figure out it's a splitterbox.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The data table is a unique object in JMP (for good reasons).&amp;nbsp; It's meant to be stand alone in it's own window, b/c of this it doesn't appear support the regular window functions, &amp;lt;&amp;lt;get XML, &amp;lt;&amp;lt;child, &amp;lt;&amp;lt; parent, &amp;lt;&amp;lt; top parent, ect.&amp;nbsp; The Get Window() function is our savior in this case as it allows us to gain access to the window object holding the data table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers!&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Oct 2018 15:15:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Setting-data-table-left-panel-size-in-JSL/m-p/79716#M36797</guid>
      <dc:creator>msharp</dc:creator>
      <dc:date>2018-10-19T15:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: Setting data table left panel size in JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/Setting-data-table-left-panel-size-in-JSL/m-p/783266#M96735</link>
      <description>&lt;P&gt;Hi, any chance you'd know how to adjust the height of the table script panel / SplitterBox(1) too? 'Set Size, Height, Size' all don't seem to work.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2024 20:13:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Setting-data-table-left-panel-size-in-JSL/m-p/783266#M96735</guid>
      <dc:creator>Ressel</dc:creator>
      <dc:date>2024-08-21T20:13:03Z</dc:date>
    </item>
    <item>
      <title>Re: Setting data table left panel size in JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/Setting-data-table-left-panel-size-in-JSL/m-p/783268#M96736</link>
      <description>&lt;P&gt;The Scripting Index shows that&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Set Height&lt;/P&gt;
&lt;P&gt;is a valid message for a Splitter Box&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_0-1724271609272.png" style="width: 839px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/67381iA2AFA7006FA5FDAD/image-dimensions/839x587?v=v2" width="839" height="587" role="button" title="txnelson_0-1724271609272.png" alt="txnelson_0-1724271609272.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2024 20:20:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Setting-data-table-left-panel-size-in-JSL/m-p/783268#M96736</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2024-08-21T20:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: Setting data table left panel size in JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/Setting-data-table-left-panel-size-in-JSL/m-p/783391#M96765</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/15435"&gt;@Ressel&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;&amp;nbsp;how to adjust the height of the table script panel&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Something like&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$SAMPLE_DATA\Big Class.jmp" );
t= get window(dt);
sb = t[SplitterBox(1)];
sb &amp;lt;&amp;lt; set sizes({3,1,100});
sb[Tab Page Box (3)]&amp;lt;&amp;lt; title("fixed size -&amp;gt; 100 is ignored")&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;CODE class=" language-jsl"&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Aug 2024 10:15:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Setting-data-table-left-panel-size-in-JSL/m-p/783391#M96765</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2024-08-22T10:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: Setting data table left panel size in JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/Setting-data-table-left-panel-size-in-JSL/m-p/783604#M96813</link>
      <description>&lt;P&gt;Yes, I saw that, but I couldn't get it to work. Leaning on&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/26800"&gt;@hogi&lt;/a&gt;'s example:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;// this works nicely
// set sizes specifies the size proportions of the three table panels. excellent
dt = Open( "$SAMPLE_DATA\Big Class.jmp" );
t = Get Window( dt );
sb = t[SplitterBox( 1 )];
sb &amp;lt;&amp;lt; Set Sizes( {1, 1, 3} );

// trying to replace set sizes with set height does not work
sb &amp;lt;&amp;lt; Set Height( 200 );

// similarly, leaning on the initial solution in this thread, this also doesn't work
window = Get Window( dt );
sb2 = window &amp;lt;&amp;lt; Find( SplitterBox( 1 ) );
sb2 &amp;lt;&amp;lt; Set Height( 200 );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thank's&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/26800"&gt;@hogi&lt;/a&gt;!&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2024 10:30:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Setting-data-table-left-panel-size-in-JSL/m-p/783604#M96813</guid>
      <dc:creator>Ressel</dc:creator>
      <dc:date>2024-08-23T10:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: Setting data table left panel size in JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/Setting-data-table-left-panel-size-in-JSL/m-p/783646#M96819</link>
      <description>&lt;P&gt;I tried 2 other variants which did not work.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$SAMPLE_DATA\Big Class.jmp" );
t = new window("helper window", dt &amp;lt;&amp;lt; new data box);
lb = t[splitter Box(1)][ListBox( 1 )]; // scripts List Box
lb &amp;lt;&amp;lt; select &amp;lt;&amp;lt; Set Height( 300 );&lt;BR /&gt;
wait(1);
lb &amp;lt;&amp;lt; deselect(0);
tpb = t[Tab page Box( 1 )]; //scripts tab page box
tpb &amp;lt;&amp;lt; select &amp;lt;&amp;lt; Set Height( 300 );&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Seems that the splitter box is in control of the sizes and keeps them fixed according to the ratios from&amp;nbsp; &lt;FONT face="courier new,courier"&gt;set size&lt;/FONT&gt; .&lt;/P&gt;</description>
      <pubDate>Fri, 23 Aug 2024 15:28:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Setting-data-table-left-panel-size-in-JSL/m-p/783646#M96819</guid>
      <dc:creator>hogi</dc:creator>
      <dc:date>2024-08-23T15:28:53Z</dc:date>
    </item>
  </channel>
</rss>

