<?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: Set Cell Size with JSL in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Set-Cell-Size-with-JSL/m-p/15933#M14557</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks ChungWei.&amp;nbsp; I missed that function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Dec 2015 19:01:51 GMT</pubDate>
    <dc:creator>robot</dc:creator>
    <dc:date>2015-12-14T19:01:51Z</dc:date>
    <item>
      <title>Set Cell Size with JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Set-Cell-Size-with-JSL/m-p/15931#M14555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to create an expression column in JMP12 that will hold images grabbed from a URL.&amp;nbsp; It is possible to define the cell size (width and height) using JSL?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have not gotten the width() property to work for an Expression column, but I find I can set the column width by first creating the column as a Character, and then changing the data type to Expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; font-family: Consolas; color: black;"&gt;dt &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; font-family: Consolas; color: navy;"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; &lt;/SPAN&gt;&lt;STRONG style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: navy;"&gt;New Column&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt;(&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; font-family: Consolas; color: purple;"&gt;"Image"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; font-family: Consolas; color: navy;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; font-family: Consolas; color: black;"&gt; Character&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; font-family: Consolas; color: navy;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; font-family: Consolas; color: purple;"&gt;"Nominal"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; font-family: Consolas; color: navy;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; font-family: Consolas; color: black;"&gt; Width&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 10.0pt; font-family: Consolas; line-height: 1.5em;"&gt;20&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; font-family: Consolas; color: black;"&gt; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; font-family: Consolas; color: navy;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; font-family: Consolas; color: black;"&gt; Formula&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; font-family: Consolas; color: #0000dd;"&gt;New Image&lt;/SPAN&gt;&lt;STRONG style="color: black; font-size: 10.0pt; font-family: Consolas; line-height: 1.5em;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; font-family: Consolas; color: #0000dd;"&gt;Open&lt;/SPAN&gt;&lt;STRONG style="color: black; font-size: 10.0pt; font-family: Consolas; line-height: 1.5em;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; font-family: Consolas; color: purple;"&gt;"URL"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; font-family: Consolas; color: black;"&gt; &lt;STRONG&gt;)&lt;/STRONG&gt; &lt;STRONG&gt;)&lt;/STRONG&gt; &lt;STRONG&gt;)&lt;/STRONG&gt; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em; font-family: Consolas; color: navy;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: #0000dd;"&gt;Column&lt;/SPAN&gt;&lt;STRONG style="color: black; font-size: 10.0pt; font-family: Consolas;"&gt;(&lt;/STRONG&gt; &lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: purple;"&gt;"Image"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt; &lt;STRONG&gt;)&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: navy;"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; &lt;STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: navy;"&gt;Data Type&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt;(&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: black;"&gt; Expression &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.0pt; font-family: Consolas; color: navy;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;How can I define the row height with JSL?&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Dec 2015 17:46:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Set-Cell-Size-with-JSL/m-p/15931#M14555</guid>
      <dc:creator>robot</dc:creator>
      <dc:date>2015-12-14T17:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: Set Cell Size with JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Set-Cell-Size-with-JSL/m-p/15932#M14556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: Courier; margin: 0px; font-size: 12px; line-height: normal; color: #011993;"&gt;&lt;SPAN style="color: #000000;"&gt;Cell height applies to all rows of the data table, and Display Width applies to a specific column.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: Courier; margin: 0px; font-size: 12px; line-height: normal; color: #011993;"&gt;&lt;/P&gt;&lt;P style="font-family: Courier; margin: 0px; font-size: 12px; line-height: normal; color: #011993;"&gt;&lt;SPAN style="color: #000000;"&gt;dt = current data table();&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px; font-size: 12px; line-height: normal; font-family: Courier; color: #011993;"&gt;&lt;SPAN style="color: #000000;"&gt;w &lt;/SPAN&gt;=&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;:&lt;SPAN style="color: #000000;"&gt;Height &lt;/SPAN&gt;&amp;lt;&amp;lt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;Get Display Width;&lt;/P&gt;&lt;P style="margin: 0px; font-size: 12px; line-height: normal; font-family: Courier; color: #011993;"&gt;:&lt;SPAN style="color: #000000;"&gt;Height &lt;/SPAN&gt;&amp;lt;&amp;lt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;Set Display Width&lt;SPAN style="color: #000000;"&gt;( &lt;/SPAN&gt;&lt;SPAN style="color: #009193;"&gt;2&lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;*&lt;SPAN style="color: #000000;"&gt; w )&lt;/SPAN&gt;;&lt;/P&gt;&lt;P style="margin: 0px; font-size: 12px; line-height: normal; font-family: Courier; color: #011993;"&gt;&lt;SPAN style="color: #000000;"&gt;ht &lt;/SPAN&gt;=&lt;SPAN style="color: #000000;"&gt; dt &lt;/SPAN&gt;&amp;lt;&amp;lt;&lt;SPAN style="color: #000000;"&gt; &lt;/SPAN&gt;Get Cell Height;&lt;/P&gt;&lt;P style="margin: 0px; font-size: 12px; line-height: normal; font-family: Courier; color: #011993;"&gt;dt &amp;lt;&amp;lt; set cell height(2*ht);&lt;/P&gt;&lt;P style="margin: 0px; font-size: 12px; line-height: normal; font-family: Courier; color: #011993;"&gt;&lt;/P&gt;&lt;P style="font-family: Courier; margin: 0px; font-size: 12px; line-height: normal; color: #011993;"&gt;&lt;SPAN style="color: #000000;"&gt;The above JSL will change the display width of height to twice its original width,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0px; line-height: normal;"&gt;&lt;SPAN style="color: #000000; font-size: 12px; font-family: Courier;"&gt;and the rows height to twice its original height.&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Dec 2015 18:33:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Set-Cell-Size-with-JSL/m-p/15932#M14556</guid>
      <dc:creator>chungwei</dc:creator>
      <dc:date>2015-12-14T18:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: Set Cell Size with JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Set-Cell-Size-with-JSL/m-p/15933#M14557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks ChungWei.&amp;nbsp; I missed that function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Dec 2015 19:01:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Set-Cell-Size-with-JSL/m-p/15933#M14557</guid>
      <dc:creator>robot</dc:creator>
      <dc:date>2015-12-14T19:01:51Z</dc:date>
    </item>
    <item>
      <title>Re: Set Cell Size with JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Set-Cell-Size-with-JSL/m-p/605772#M80806</link>
      <description>&lt;P&gt;Hi Chungwei,&lt;/P&gt;&lt;P&gt;I used the solution to change the data table and that works. But when I make the data table into a journal the width and heights are not taken into account. Then the default height and width are used.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use :&lt;/P&gt;&lt;P&gt;dt &amp;lt;&amp;lt; Journal();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have an idea how to do this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Jeroen&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2023 13:57:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Set-Cell-Size-with-JSL/m-p/605772#M80806</guid>
      <dc:creator>JeroenLubbers</dc:creator>
      <dc:date>2023-02-27T13:57:57Z</dc:date>
    </item>
  </channel>
</rss>

