<?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 Set Cell Height or Text Wrapping in a Table Box in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-Set-Cell-Height-or-Text-Wrapping-in-a-Table-Box/m-p/42573#M24726</link>
    <description>&lt;P&gt;Oops.....I read Data Table, not Table Box.....my error&lt;/P&gt;</description>
    <pubDate>Thu, 27 Jul 2017 15:32:29 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2017-07-27T15:32:29Z</dc:date>
    <item>
      <title>How to Set Cell Height or Text Wrapping in a Table Box</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-Set-Cell-Height-or-Text-Wrapping-in-a-Table-Box/m-p/42569#M24723</link>
      <description>&lt;P&gt;I'm trying to display some information in a Table Box in a display window. The text in one cell is so long that it extends the column width but does not wrap the text to extend the cell height. Is there a way to change this in the script so that the cell is taller and not wider?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is an example of my current script:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;longstring =
"In the loveliest town of all, where the houses were white and high \!Nand the elms trees were green and higher than the houses, where the front yards were \!Nwide and pleasant and the back yards were bushy and worth finding out about, \!Nwhere the streets sloped down to the stream and the stream flowed \!Nquietly under the bridge, where the lawns ended in orchards and the orchards ended \!Nin fields and the fields ended in pastures and the pastures climbed the hill and \!Ndisappeared over the top toward the wonderful wide sky, \!Nin this loveliest of all towns Stuart stopped to get a drink of sarsaparilla.";
string2 = "The End.";
nw = New Window( "Display",
	tb = Table Box(
		string_col1 = String Col Box( "MyString", {longstring} ),
		string_col2 = String Col Box( "Column2", {string2} )
	)
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Display on One Line.JPG" style="width: 604px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/6977iCF4E7175C19150E7/image-size/large?v=v2&amp;amp;px=999" role="button" title="Display on One Line.JPG" alt="Display on One Line.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I've tried Set Height, Set Width, and Set Min/Max Size, but haven't&amp;nbsp;found a way&amp;nbsp;to get the cell any taller than one line. Open to suggestions, thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 23:24:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-Set-Cell-Height-or-Text-Wrapping-in-a-Table-Box/m-p/42569#M24723</guid>
      <dc:creator>vheber</dc:creator>
      <dc:date>2023-06-09T23:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to Set Cell Height or Text Wrapping in a Table Box</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-Set-Cell-Height-or-Text-Wrapping-in-a-Table-Box/m-p/42570#M24724</link>
      <description>&lt;P&gt;Here is the example from the Scripting Index&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Help==&amp;gt;Scripting Index==&amp;gt;Data Table==&amp;gt;Set Cell Height&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
dt &amp;lt;&amp;lt; Set Cell Height( 20 );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 27 Jul 2017 15:26:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-Set-Cell-Height-or-Text-Wrapping-in-a-Table-Box/m-p/42570#M24724</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2017-07-27T15:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to Set Cell Height or Text Wrapping in a Table Box</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-Set-Cell-Height-or-Text-Wrapping-in-a-Table-Box/m-p/42572#M24725</link>
      <description>&lt;P&gt;String Col Box does not support multiple lines within a single row. However, you can use a Col Box and append Text Boxes for each row for&amp;nbsp;columns that need to span multiple rows.&lt;/P&gt;
&lt;P&gt;Here's an updated version of your example. Note that the only way to add display boxes to a Col Box is using Append. We expect to add more flexibility to this in a future release of JMP.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;longstring = "In the loveliest town of all, where the houses were white and high and the elms trees were green and higher than the houses, where the front yards were wide and pleasant and the back yards were bushy and worth finding out about, where the streets sloped down to the stream and the stream flowed quietly under the bridge, where the lawns ended in orchards and the orchards ended in fields and the fields ended in pastures and the pastures climbed the hill and disappeared over the top toward the wonderful wide sky, in this loveliest of all towns Stuart stopped to get a drink of sarsaparilla.";
string2 = "The End.";
nw = New Window( "Display",
	tb = Table Box(
		col1 = Col Box( "MyString" ),
		col2 = String Col Box( "Column2", {string2} )
	)
);

col1 &amp;lt;&amp;lt; append( Text Box( longstring , &amp;lt;&amp;lt;set wrap( 350 ) ) );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Here is the resulting window:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 451px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/6978iB6870A0830A701FC/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2017 15:30:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-Set-Cell-Height-or-Text-Wrapping-in-a-Table-Box/m-p/42572#M24725</guid>
      <dc:creator>Justin_Chilton</dc:creator>
      <dc:date>2017-07-27T15:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to Set Cell Height or Text Wrapping in a Table Box</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-Set-Cell-Height-or-Text-Wrapping-in-a-Table-Box/m-p/42573#M24726</link>
      <description>&lt;P&gt;Oops.....I read Data Table, not Table Box.....my error&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jul 2017 15:32:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-Set-Cell-Height-or-Text-Wrapping-in-a-Table-Box/m-p/42573#M24726</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2017-07-27T15:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to Set Cell Height or Text Wrapping in a Table Box</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-Set-Cell-Height-or-Text-Wrapping-in-a-Table-Box/m-p/42574#M24727</link>
      <description>This did it! Thank you for the quick reply!</description>
      <pubDate>Thu, 27 Jul 2017 15:36:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-Set-Cell-Height-or-Text-Wrapping-in-a-Table-Box/m-p/42574#M24727</guid>
      <dc:creator>vheber</dc:creator>
      <dc:date>2017-07-27T15:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to Set Cell Height or Text Wrapping in a Table Box</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-Set-Cell-Height-or-Text-Wrapping-in-a-Table-Box/m-p/275931#M53551</link>
      <description>&lt;P&gt;Is it still not possible to Set Wrap to the&amp;nbsp;&lt;SPAN&gt;String Col Box?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have a table consisting of 2 columns (String Col Box) and 24 rows I would need to wrap the text in 3 out of 48 cells to make the table fit on one page of the pdf (resulting&amp;nbsp;from saving a journal). I am not sure if the above solution could help with my problem...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2020 11:54:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-Set-Cell-Height-or-Text-Wrapping-in-a-Table-Box/m-p/275931#M53551</guid>
      <dc:creator>aekw0</dc:creator>
      <dc:date>2020-06-29T11:54:03Z</dc:date>
    </item>
  </channel>
</rss>

